You Might Also Like
Was this tool helpful?
Was this tool helpful?
Developer Converter
Convert numbers between binary, octal, decimal, and hexadecimal — with arbitrary-precision (BigInt) accuracy and a live bit map.
Enter a number to convert
Pick an input base and type a value — it converts to binary, octal, decimal & hex at once, with a toggleable bit map.
| Dec | Hex | Oct | Bin |
|---|---|---|---|
| 0 | 0 | 0 | 0000 |
| 1 | 1 | 1 | 0001 |
| 2 | 2 | 2 | 0010 |
| 3 | 3 | 3 | 0011 |
| 4 | 4 | 4 | 0100 |
| 5 | 5 | 5 | 0101 |
| 6 | 6 | 6 | 0110 |
| 7 | 7 | 7 | 0111 |
| 8 | 8 | 10 | 1000 |
| 9 | 9 | 11 | 1001 |
| 10 | A | 12 | 1010 |
| 11 | B | 13 | 1011 |
| 12 | C | 14 | 1100 |
| 13 | D | 15 | 1101 |
| 14 | E | 16 | 1110 |
| 15 | F | 17 | 1111 |
Computers use different number bases: Binary (base-2) for internal operations, Octal (base-8) for Unix permissions, Decimal (base-10) for everyday numbers, and Hexadecimal (base-16) for memory addresses and color codes.
In hexadecimal, letters A–F represent the values 10–15. The prefix 0x denotes hex, 0b for binary, and 0o for octal in most programming languages.