What is Binary Converter?
Binary Converter is a free tool that translates numbers between the four most important number bases: binary (base-2), decimal (base-10), hexadecimal (base-16), and octal (base-8). Enter a value in any base and all other representations update instantly.
Every digital system internally uses binary. Hex is just a human-friendly shorthand for binary — each hex digit represents exactly 4 binary bits.
The Four Number Bases
Binary (Base 2)
Uses only 0 and 1. Each position is a power of 2. The native language of CPUs, memory, and logic gates.
Decimal (Base 10)
The everyday number system. Uses digits 0–9. What you see in most prices, measurements, and documents.
Hex (Base 16)
Uses 0–9 and A–F. Compact representation of binary. Standard for colors (#RRGGBB) and memory addresses.
Octal (Base 8)
Uses digits 0–7. Used in Unix file permissions (chmod 755) and some legacy embedded systems.
How to Use Binary Converter
Enter a value
Type any number into one of the four fields — binary, decimal, hex, or octal.
See all bases
The other three fields update instantly with the equivalent value in each base.
Copy any result
Click the copy icon next to any field to copy that representation to your clipboard.
Understanding the Conversions
The same number represented in all four bases:
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 10 | 1010 | A | 12 |
| 16 | 10000 | 10 | 20 |
| 255 | 11111111 | FF | 377 |
| 256 | 100000000 | 100 | 400 |
Each hex digit represents 4 binary bits, making hex a convenient shorthand for reading binary values.
Tips & Common Mistakes
Hex prefix conventions. In code, hex values are often written with a 0x prefix (e.g. 0xFF). The converter accepts values with or without this prefix.
Don’t confuse octal zero-padding with octal notation. In C and many languages, a leading zero means octal — 010 is decimal 8, not 10. Binary Converter makes this explicit so you always know what base you’re working in.
Binary digits increase right-to-left in significance. The rightmost bit is the least significant (value 1), and each bit to the left doubles in value (2, 4, 8, 16…).
Related Tools
- Epoch Converter — convert Unix timestamps
- UUID Generator — generate unique identifiers
- SHA-256 Generator — compute cryptographic hashes