Integer Base (radix) Inter-converter in PHP with Source Code


Integer Base (radix) Interconverter

This PHP Internet program converts any integer (±X) From any One Base (radix) System Into Another.

The base can be any value from 2 to 36.

For example, the base 23 integer

equates to the base 10 integer

or the base 16 integer

or the octal (base 8)integer


The program uses arbitrary-precision arithmetic so you can work with
numbers hundreds of digits in length if you wish.

Here's a working copy on my website:!abc/math-science-tools/integer-base-interconverter/index.php

I have provided the source code on this site. You can download it by clicking the download button below this article.

How to run the project?


  • Download and Install any local web server such as XAMPP/WAMP to run the PHP Script.
  • Download the provided source code zip file. (download button is located below)

Setup & Installation

  1. Open your XAMPP/WAMP's Control Panel and start the Apache webserver.
  2. Extract the downloaded zip file.
  3. Copy the extracted source code folder.
  4. If you using XAMPP, paste the source code folder inside the 'htdocs' directory ie. C:\xampp\htdocs. And if using WAMPP, paste it inside the 'www' directory.
  5. Open a new tab in your browser and browse http://localhost/integer-base-interconverter/.


That's it! You can now test the Integer Base (radix) Interconverter Project developed in PHP on your end.

Jay Tanner - 2019

Current Web Site

Development Language:
PHP v7.1.8

This program's source code and any related data and graphics are released to the public domain.

I hope this Integer Base (radix) Interconverter Project will help you with what you are looking for.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment