- No data uploaded
- Instant results
Hexadecimal to Binary Converter
Enter a hexadecimal number to convert it to binary immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.
Hexadecimal to Binary Converter
How to convert hexadecimal to binary
Hexadecimal (base 16) uses 0–9 and A–F; each hex digit maps to exactly four bits, so one byte is always two hex digits (00–FF). Binary (base 2) uses only the digits 0 and 1 and is how every value is ultimately stored in hardware.
Worked example converting D6:
- Expand by place value:
13×161 + 6×160= 214 in decimal. - Repeatedly divide 214 by 2 and read the remainders bottom-up to get 11010110.
- Result:
D6(hexadecimal) =11010110(binary).
Accepted input formats
- Optional prefixes:
0b(binary),0o(octal),0x(hex). - Spaces, commas and underscores are ignored, so
1101_0110works. - A leading minus sign converts negative values (sign-magnitude, not two's complement).
- Hexadecimal is case-insensitive; output is upper-case.
Hexadecimal to Binary reference table
| 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 |
| 20 | 100000 |
| 40 | 1000000 |
| 64 | 1100100 |
| 80 | 10000000 |
| FF | 11111111 |
| 100 | 100000000 |
| 400 | 10000000000 |
| 1000 | 1000000000000 |
| FFFF | 1111111111111111 |
Frequently asked questions
What is D6 in binary?
D6 in hexadecimal equals 11010110 in binary.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.