Number Base Converter
Convert numbers between any bases from 2 to 36, including binary, octal, decimal, and hex. Exact and private.
Independently verified for accuracy
Calculator by Toolsloft ↗- Result
- 11111111
Convert a number from one base to another, for any base from 2 to 36. Enter the value with its current base and the base you want, and the tool reads it digit by digit and rewrites it exactly, even for very large numbers. Signs are kept and invalid digits are flagged.
How this is calculated
The value is read using positional notation: each digit is multiplied by the base raised to its place, summed with big-integer math so nothing overflows, then rewritten in the target base by repeated division. Digits use 0-9 then a-z, so base 16 uses a-f and base 36 uses all letters.
How to use
- Enter the number and select the base it is currently in.
- Select the base you want to convert to.
- Read the converted value and copy it.
Examples
- Hex to binary:
ff in base 16 becomes 11111111 in base 2 - Base 36:
z in base 36 becomes 35 in base 10
FAQ
- Which bases are supported?
- Any base from 2 to 36. Digits run 0 through 9 and then a through z, which is why 36 is the maximum.
- Can it handle very large numbers?
- Yes. Conversion uses big-integer arithmetic, so large values convert exactly without rounding or overflow.
- What happens with an invalid digit?
- If a digit is not valid for the source base, for example a 2 in a binary number, the tool reports the invalid character instead of guessing.