Number Base Converter
Converts a list of numbers between bases and refuses to silently truncate a value that is invalid in the base you chose.
Loading the tool…
How to use this tool
- Set the base your input is written in. This is the setting that matters — the same digits mean different numbers in different bases.
- Paste your values, one per line. Leading 0x, 0b and 0o prefixes are fine.
- Select Convert.
- Check for any row flagged as carrying digits that do not exist in that base — that is usually the input base set wrongly.
What number base converter does
Every value is shown in binary, octal, decimal, hex and base 36 at once, so there is no output base to choose and no second pass when you realise you wanted a different one. A leading 0x, 0b or 0o is stripped, which means values copied straight out of source code or a hex dump paste in without editing.
The input base is the one setting that matters, and getting it wrong is the classic failure here: read as decimal, the hex value 255 is a different number entirely. Each result is converted back and compared with what you typed, so a value carrying digits that do not exist in the chosen base is reported rather than quietly truncated at the first bad character the way parseInt would.