Hexadecimal to Binary Converter
Convert hexadecimal numbers to binary instantly, with no size limit.
Converts live as you type, entirely in your browser using arbitrary-precision math — no size limit and nothing is sent anywhere.
Need the opposite? Decimal to Hexadecimal Converter
What is Hexadecimal to Binary Converter?
Paste a hexadecimal number and get its binary equivalent instantly. Useful for low-level programming, understanding bitmasks, or coursework involving number base conversions. Conversion runs live in your browser as you type, using arbitrary-precision math, so long hex strings (like a full memory address or hash fragment) convert without losing precision.
Hex Digit to Binary Table
| Hex | Binary (4-bit) |
|---|---|
| 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 |
How to Use the Hex to Binary Converter
- 1
Paste or Type a Hex Number: Enter digits 0-9 and letters a-f, such as 2F or C0A8.
- 2
Read the Binary Result Instantly: The binary equivalent appears automatically as you type, with no button to click.
- 3
Copy the Result: Use the copy button to copy the binary string for use in code, a bitmask, or coursework.
How Hex to Binary Conversion Works
Every hex digit represents exactly 4 binary bits, because 16 (the base of hex) is 2⁴. You can convert a whole hex number to binary by converting each digit on its own and joining the 4-bit results together, in order, with no need to convert the entire number to decimal first.
How to Convert Hex to Binary
Take the hex number "2F": the digit "2" is 0010 in binary, and the digit "F" is 1111 in binary. Joined together, "2F" in hex is "00101111" in binary. For a longer number like "1A3": "1" = 0001, "A" = 1010, "3" = 0011, giving "000110100011".
Examples
"FF" → "11111111" (F=1111, F=1111)
"9" → "1001"
"C0A8" → "1100000010101000" (C=1100, 0=0000, A=1010, 8=1000)Frequently Asked Questions
Common questions about Hexadecimal to Binary Converter.