Live 4-Way Sync
Type in any field — binary, octal, decimal, or hex — and the rest update instantly.
Convert between binary, octal, decimal, and hexadecimal live — type in any field and the others update instantly. Handles arbitrarily large numbers and custom bases 2–36.
Convert instantly between the four bases developers use most, plus any custom base.
Type in any field — binary, octal, decimal, or hex — and the rest update instantly.
Powered by BigInt — correctly converts numbers far beyond standard 32/64-bit limits.
Convert to or from any base, not just the four common ones.
Everything runs in your browser. Nothing is ever sent to a server.
Enter a value into any of the Binary, Octal, Decimal, or Hex fields.
The other three fields update instantly as you type.
Click any copy icon to grab that format for your code or notes.
A number base (or radix) defines how many unique digits are used to represent numbers and what each position's value multiplier is. Decimal (base 10) is the everyday system with digits 0-9. Computers work natively in binary (base 2) since transistors are either on or off. Hexadecimal (base 16) is a compact, human-friendlier way to write binary data — each hex digit represents exactly 4 bits. Octal (base 8) similarly maps cleanly to binary, with each digit representing 3 bits.
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 8 | 1000 | 10 | 8 |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
Because 16 is a power of 2 (2⁴), every group of exactly 4 binary digits corresponds to exactly one hex digit. That's why hex is the preferred shorthand for memory addresses, color codes, and byte values — 0xFF instantly tells you it's 8 bits, all set to 1, without counting.
To convert decimal to any other base by hand, repeatedly divide by the target base and record the remainders from last to first. For example, converting 12 to binary: 12÷2=6 r0, 6÷2=3 r0, 3÷2=1 r1, 1÷2=0 r1 — reading remainders bottom-to-top gives 1100. This tool automates that process instantly for any base.