Hex to Binary Converter
Expand hexadecimal values into binary bytes, two hex digits per byte.
Jump to toolWhat Is Hexadecimal?
Hexadecimal is a base-16 number system that uses the digits 0–9 and the letters A–F. One hex digit stands for exactly four bits, so two digits describe one byte, which makes hex a compact way to write binary data such as colour codes, MAC addresses and memory dumps.
This tool expands each pair of hex digits into its 8-bit binary byte. The input needs an even number of digits, since every byte takes two.
How to Convert Hex to Binary
- Enter hexadecimal digits, such as 48656C6C6F, under Enter hexadecimal.
- Read each byte under Binary output.
- Select Copy binary or Download to keep the result.
Hex Digit Reference
Every hex digit is exactly four bits, so you can convert one digit at a time:
| Hex | Binary |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
Worked Example
48656C6C6F splits into the bytes 48, 65, 6C, 6C and 6F, which become 01001000 01100101 01101100 01101100 01101111, the binary for Hello.
Why an Even Number of Digits
Each byte takes two hex digits, so the input needs an even count. Add a leading 0 if needed: F becomes 0F, or 00001111.
Hex to Binary Converter FAQ
Convert binary back to hex
Turn 8-bit groups into hexadecimal bytes.
Related Tools
Tools that often come next after this one