Number Base Converter

Convert whole numbers exactly between bases 2 through 36, including binary and hexadecimal.

Enter values

Conversion result

About this tool

Whole numbers are parsed with BigInt, avoiding the precision loss that normal JavaScript numbers can introduce for large values. Negative integers are supported.

Fractions, prefixes such as 0x, and digit separators are not accepted. Bases above ten use lowercase letters in output.

Frequently asked questions

Are large integers exact?

Yes. BigInt preserves digits beyond the normal safe-integer range.

Can it convert fractions?

No. This tool handles whole numbers only.

Can I enter a 0x prefix?

No. Enter the digits only.

Related tools