Hex to Binary Converter
Convert hexadecimal to binary instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.
How to convert hex to binary
Because 16 is 2 to the 4th power, each hexadecimal digit expands into exactly four bits. That makes hex to binary a simple digit-by-digit swap.
Method: 4 bits map to one hex digit, so you just group and swap.
- Take each hex digitHandle one hexadecimal digit at a time.
- Write its 4-bit value0 = 0000, A = 1010, F = 1111 — always four bits.
- Join the groupsKeep the digits in order to get the full binary number.
Examples 1A = 11010FF = 11111111
Hex to Binary Table
Common hexadecimal values with their binary equivalents.
| Hexadecimal | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
| 10 | 10000 |
| 14 | 10100 |
| 20 | 100000 |
| 32 | 110010 |
| 40 | 1000000 |
| 64 | 1100100 |
| 80 | 10000000 |
| FF | 11111111 |
| 100 | 100000000 |
| 200 | 1000000000 |
| 3E8 | 1111101000 |
Related conversions
Frequently asked questions
How do you convert hex to binary?
Replace each hex digit with its 4-bit value — 0 = 0000, A = 1010, F = 1111 — keeping the order. So 2F becomes 0010 1111.
What is F in binary?
F is 1111 and A is 1010; every hex digit is exactly four bits.
Do I pad each hex digit to four bits?
Yes — each hex digit always becomes four binary digits, so hex 1 is 0001, not 1.