Hex to Binary Converter
Convert any hexadecimal code to its binary representation with one click. Supports uppercase/lowercase hex input, handles spaces, and ignores invalid characters.
Binary output
Example: Hex to Binary
- A → 1010
- 2F → 00101111
- 1AF3 → 0001101011110011
How to Convert Hex to Binary?
- Paste or type the hexadecimal number.
- Click Convert to see the binary output.
- Copy the binary value if needed.
Hex to Binary Table (4-bit mapping)
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 |
What is Hex to Binary Conversion?
Hexadecimal (base-16) uses 0-9 and A-F to represent values. Binary (base-2) uses only 0 and 1. Every hex digit equals exactly 4 binary digits (bits), which makes conversion simple and reliable. This is critical in computing, color codes, and low-level data operations.
FAQ
- How many bits is a hex digit?
Every hex digit is exactly 4 bits in binary. - Can I enter spaces or lowercase letters?
Yes! The tool ignores spaces and supports a-f, A-F. - What if I enter an invalid character?
The converter will show an error message. - Why do programmers use hex and binary?
Hex is shorter and easier to read, but binary is the real language of computers.