Number Base Converter
ConvertersBinary, octal, decimal, hex — live
Type in any field — the others update live. Supports negative numbers; hex is case-insensitive.
The Number Base Converter translates numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) in real time. These four bases are the lingua franca of computing: binary is how machines store data, hexadecimal is how humans compactly represent bytes, octal shows up in Unix file permissions, and decimal is what we use every day.
Type a value in any of the four fields and the other three update instantly. This live, any-direction conversion is far faster than tools that force you to pick a 'from' and 'to' base. The converter validates each base as you type — binary only accepts 0s and 1s, hex accepts 0–9 and A–F — and flags invalid characters immediately so you never copy a wrong result.
The tool supports large integers (up to JavaScript's safe integer limit of 2^53, plus arbitrary-precision handling for typical use) and clearly indicates when a value exceeds safe-integer precision. Whether you are debugging a bitmask, reading a memory address from a crash log, setting Unix file permissions, or learning how binary representation works, this converter saves you from mental arithmetic and lookup tables.
Everything runs locally in your browser. No numbers are transmitted or stored — important when you are working with memory addresses, internal IDs or other sensitive values.