Hexadecimal to Binary Converter

Convert hexadecimal (base-16) to binary (base-2). Expand any hex number into its binary equivalent — each hex digit becomes exactly 4 bits.

Common Values

InputBinary
00
11
a1010
f1111
1010000
ff11111111
100100000000
ffff1111111111111111
ffffffff11111111111111111111111111111111

How It Works

Converting hex to binary is the reverse of binary-to-hex. Replace each hex digit with its 4-bit binary equivalent: 0=0000, 1=0001, ..., 9=1001, A=1010, B=1011, C=1100, D=1101, E=1110, F=1111. For example, FF → 1111 1111 = 11111111.

Worked Examples

HexadecimalBinary
00
11
a1010
f1111
1010000
ff11111111
100100000000
ffff1111111111111111

Related Conversions

Frequently Asked Questions