Hex to Binary Converter
Each hexadecimal digit expands to exactly four binary bits, so converting hex to binary is essentially a digit-by-digit substitution. This makes hex a convenient shorthand for binary data that you can unpack whenever you need the raw bits.
Enter a hex value below (uppercase or lowercase, optional 0x prefix) and the binary string appears instantly. Everything is computed locally in your browser with no upload.
| Hex | Binary (nibble) | Decimal |
|---|---|---|
0 | 0000 | 0 |
8 | 1000 | 8 |
A | 1010 | 10 |
F | 1111 | 15 |
FF | 11111111 | 255 |
FF→11111111Each F expands to 1111, giving eight set bits.
Frequently asked questions
How do I convert hex to binary by hand?
Replace each hex digit with its four-bit binary pattern (for example A → 1010, F → 1111) and concatenate the groups. The order of digits is preserved.
Why does one hex digit give four bits?
Hexadecimal is base 16 and 16 equals 2⁴, so every hex digit encodes precisely four bits. That clean alignment is why hex is used to represent binary compactly.
Does the output keep leading zeros?
Yes — each nibble is shown as a full four bits, so the binary string lines up with the original hex digits and preserves leading zeros within each group.
Is the conversion private?
Yes, it runs entirely in your browser and nothing is sent anywhere.