Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal. Enter a value in any base and see all four representations instantly.
Your files never leave your device
Quick reference
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 3 | 11 | 3 | 3 |
| 4 | 100 | 4 | 4 |
| 5 | 101 | 5 | 5 |
| 6 | 110 | 6 | 6 |
| 7 | 111 | 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 |
How to Number Base Converter
- Select the base of the number you want to convert (binary, octal, decimal, or hex).
- Type your number in the input field.
- All four representations update instantly — binary, octal, decimal, and hexadecimal.
- Click the copy button next to any base to copy that value.
Why Use This Tool?
Programmers frequently need to convert between number bases when working with bit flags, memory addresses, colour codes, or binary protocols. This tool provides instant conversions across all common bases.