Convert between Binary, Decimal, Hexadecimal, Octal & any custom base (2–36) — with step-by-step breakdown, bit visualization, and full conversion history.
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
A number base converter (also called a radix converter) translates a number from one numeral system to another. The most common systems in computing are binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16). This tool also supports any custom base from 2 to 36.
Binary is the foundation of all digital computing. It uses only two digits — 0 and 1 — representing the off/on states of transistors. Every piece of data your computer processes is ultimately stored and transmitted as binary. Converting binary to decimal is one of the most common operations in computer science education.
Hexadecimal uses digits 0–9 and letters A–F to represent values 0–15. It's widely used in memory addresses, HTML/CSS color codes (e.g., #FF5733), and machine-level debugging because it compactly represents binary data — every 4 bits equals exactly one hex digit.
Octal uses digits 0–7. It was historically used in early computing and is still found in Unix/Linux file permissions (e.g., chmod 755). Three binary digits map exactly to one octal digit, making binary-to-octal conversions straightforward and systematic.