Skip to content
Yunedia Tools

Number Base Converter

Convert integers between bases 2 and 36 with full precision, including values too large for floating point.

Bases above 10 use letters: a = 10, b = 11, … z = 35. A leading minus sign is allowed.

Result
ff

The same value in common bases

BaseValue
211111111
8377
10255
16ff

How to use

  1. Type the integer to convert (negatives are allowed).
  2. Choose the source and target bases, from 2 to 36.
  3. The result appears and can be copied; a table also shows the value in bases 2, 8, 10 and 16.

Notes

Conversion uses BigInt, so integers too large for exact floating-point representation (beyond 2^53) convert without losing digits. Fractions are not supported. Bases above 10 use letters a = 10 through z = 35, and entering a digit that is invalid in the chosen base produces an error.

FAQ

Can I include a 0x prefix for hexadecimal?
No. Enter just the digits without the prefix (for example: ff).
Can it convert decimals or fractions?
This tool is for integers only; input containing a decimal point is rejected.