Hex to Binary Converter
Type hex to get binary. Every hex digit becomes exactly four bits, so the working is a simple lookup.
1100 0000 1111 1111 1110 11106017775612,648,430C0 FFEEWorking
110000001111111111101110The method
Replace each hex digit with its 4-bit pattern (0 = 0000 … F = 1111) and join them. No arithmetic needed.
Place value: the idea behind every base
In any base, a digit’s worth depends on its column. Each column is worth the base times the column to its right. Tap a digit to change it and watch the total.
1×1,048,576 + 1×4,096 + 1×256 + 1×1 = 1,052,929 in decimal
Decimal is the same system with ten digits: 347 is 3×100 + 4×10 + 7×1. Nothing about base 10 is special apart from our ten fingers.
Hex to binary table
| Hex | 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 |
Questions people ask
Why does one hex digit equal four bits?
Because 16 = 2⁴. Four bits have exactly 16 combinations, the same as one hex digit, so the two systems line up perfectly. That is why programmers use hex as shorthand for binary.
What is F in binary?
1111. And 8 is 1000, A is 1010, 5 is 0101.
How do I convert binary back to hex?
Group the bits in fours from the right, padding the left with zeros, and replace each group with its hex digit. 101101 → 0010 1101 → 2D.