Number Base Converter

Convert between binary, octal, decimal, hexadecimal, and any base from 2 to 36.

BaseValue
2 (binary)
8 (octal)
10 (decimal)
16 (hex)
32
36

What is this for?

Numbers are the same value regardless of which base you write them in — 255, 0xff, 0b11111111, and 0o377 all represent the same quantity. However, the base you work in matters enormously when you're debugging, reverse-engineering data layouts, reading memory dumps, or working with protocols and file formats. This tool converts between binary, octal, decimal, hexadecimal, and any arbitrary base from 2 to 36, using BigInt arithmetic to handle large integers without precision loss.

When to use it

How it works

Common gotchas