How to use Number Base Converter — Binary, Hex, Decimal, Base36
- 1Enter your number and tell the tool which base it is currently in.
- 2Binary, octal, decimal, hexadecimal, base32 and base36 are all shown at once.
- 3Copy whichever one you need — digits are grouped so long values stay readable.
About Base Converter
Every number you write is a value plus an agreement about how many digits exist. Base 10 gives you ten symbols and each column is worth ten times the one to its right; binary gives you two, hex gives you sixteen by borrowing a-f, and base36 exhausts the alphabet at 0-9a-z. The value itself never changes when you convert — 255, 11111111, 377, ff, 7v and 73 are six spellings of one quantity. Binary and hex pair up especially neatly: one hex digit is exactly four binary digits, which is why grouping binary in fours lines the two columns up and lets you read a bitmask off a hex constant without a calculator.
The reason this page exists is precision. A JavaScript number is a 64-bit float, and it stops representing consecutive integers above 2^53 - 1, or 9,007,199,254,740,991. Any converter that parses your input into one of those and formats it back is guaranteed to be wrong for exactly the values people most often bring to a converter: 64-bit database keys, snowflake-style IDs, permission bitmasks and truncated hashes. Feed ffffffffffffffff to such a tool and you get 18446744073709551616 — one more than the real answer, 18446744073709551615 — because that is the nearest float. Here, parsing and formatting both run in BigInt, and when a value passes the 2^53 mark the page says so and shows you what the float version would have returned, so you can see the rounding you have avoided.
In use, a few small things save time. The copy button next to each base copies the plain digits without the grouping spaces, so the value drops straight into code, while the display keeps the spacing for reading. "Use as input" makes any result the new source value and switches the input base to match, which is the quickest way to check a round trip or chain a conversion. The uppercase toggle matches the DEADBEEF style used in memory dumps and colour codes. And the statistics row answers the question that usually follows a conversion — whether the value fits in a uint32 or needs 64 bits. Two honest limits: whole numbers only, no fractional part, and the base32 and base36 columns are numeral systems, not the RFC 4648 or Base64 style encodings used to wrap binary data as text.
This converter is a numeral-system tool rather than a data-encoding tool, and it is deliberately narrow: one input, six standard bases plus any extra base you choose from 2 to 36, exact arithmetic, and no server involved.