Hex Converter
Enter a hexadecimal value to see its decimal and binary equivalents.
Hex
2A
Decimal
42
Binary
00101010
Base-16
Hexadecimal compresses long binary strings into something people can scan quickly. It is widely used in memory views, color codes, encodings, and low-level debugging.
Enter a hexadecimal value to see its decimal and binary equivalents.
Hex
2A
Decimal
42
Binary
00101010
4 bits per digit
Each hexadecimal character maps exactly to one nibble, which makes binary conversion fast and predictable.
Compact format
`11111111` is much easier to scan as `FF`, especially in logs, dumps, and configuration values.
Real-world usage
Memory addresses, color values, packet data, hashes, and file headers often appear in hexadecimal.
| Hex | Decimal | Binary |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| A | 10 | 1010 |
| B | 11 | 1011 |
| C | 12 | 1100 |
| D | 13 | 1101 |
| E | 14 | 1110 |
| F | 15 | 1111 |