Developer and Math Utility
Number Base Converter
Convert nonnegative integers exactly among bases 2 through 36.
Convert an integer
Method
Each digit is validated against the source base and accumulated using BigInt arithmetic. The result is then converted to the target base.
Worked examples
- 1010 base 2 = 10 base 10.
- FF base 16 = 255 base 10.
- 255 base 10 = FF base 16.
Privacy
The conversion runs locally in the browser.
Limitations
Version 1 accepts nonnegative integers only. It does not convert fractional values, scientific notation, signed two’s-complement values, or custom alphabets.