What is the Base Converter?
The Base Converter is a developer utility designed to instantly translate numbers between the four most common numeral systems used in computer science: Binary (Base 2), Octal (Base 8), Decimal (Base 10), and Hexadecimal (Base 16), plus any custom radix from Base 2 to Base 36. Understanding and converting between these bases is fundamental for reading memory addresses, setting file permissions (chmod), inspecting bitwise flags, or decoding network masks.
How does Bidirectional Conversion work?
Unlike traditional calculators where you select one input base and one output base, this tool is fully bidirectional and simultaneous. Paste a number into any field—even with 0x, 0b, 0o prefixes, spaces, or underscores—and the other fields, grouped 4-bit binary nibbles, endianness bytes, and custom radix outputs update in real time.
Safe with Massive Numbers
Standard JavaScript numbers lose precision when they exceed the safe integer limit (approx 9 quadrillion). To solve this, our Base Converter uses native BigInt under the hood. You can paste massive 64-bit, 128-bit, or 256-bit integers into the converter and perform exact bitwise shifts and conversions without floating-point rounding errors.