About the All Base Converter
Instead of converting to one base at a time, this tool shows a single number in every common representation at once: decimal, binary, octal, hexadecimal, base 36, and, for values in range, Roman numerals and English words. The input base is detected from a 0x, 0b or 0o prefix, defaulting to decimal.
It is a quick reference when you have a number and want to see all its faces, for example checking that a hex colour component is what you expect in decimal and binary. It uses arbitrary-precision integers for the numeric bases. For bulk conversion between two specific bases, the Number Base Converter is more suitable.
Every row is the same quantity written with a different radix. Base 36 uses the digits 0 to 9 followed by A to Z, which makes it the most compact of the numeric rows and explains why it turns up in short-link slugs and invoice reference codes. The numeric rows use arbitrary-precision integers, so a value past 9007199254740991, the largest integer an ordinary JavaScript number holds exactly, keeps its low digits instead of quietly rounding.
A blank Roman or words row is a limit of the notation, not a failure: the classical letters stop at M and cover 1 to 3999, and there is no Roman symbol for zero. A typical use is checking a constant copied out of a config file, where 0644 and 644 mean very different things depending on whether that leading zero was meant as an octal marker. To flip individual bits of the same value afterwards, try the Bitwise Calculator.
How to use
- Enter a number, optionally with a 0x, 0b or 0o prefix.
- Read it in every base.
- Copy the line you need.
Common questions
- How does it know the input base?
- From a 0x (hex), 0b (binary) or 0o (octal) prefix. Without one, it assumes decimal.
- Why is Roman or words sometimes blank?
- Roman numerals cover 1 to 3999, and words are limited to very large but finite values. Outside those, the field is blank.
- Are big numbers exact?
- The numeric bases use arbitrary precision, so yes.