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 to 4-bit binary map
HexBinary (nibble)Decimal
000000
810008
A101010
F111115
FF11111111255
Worked example
FF11111111

Each 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.

Related conversions

Need more options? Try the full Number Base Converter.