Hexadecimal to Binary

Turn Hexadecimal numbers into Binary in your browser. Every digit is converted exactly, even for very long values, and nothing is sent to a server.

Free Runs locally No signup
Input baseHEX
Valid
Binary1001010101
Octal1125
Decimal597
Hexadecimal255
Spaces and underscores are ignored; 0b, 0o and 0x prefixes are supported.

Common conversions

Hexadecimal Binary
1 1
2 10
4 100
8 1000
A 1010
10 10000
FF 11111111

Leading zeros are dropped; longer values follow the same digit weights.

Frequently asked questions

How do I convert Hexadecimal to Binary?
Each Hexadecimal digit is multiplied by its place value, then the total is written using Binary digits. The table above shows the pattern for small values.
Can I convert fractions?
No. This converter works with unsigned integers only. Convert the integer part first and handle the fraction separately.
How large can the numbers be?
Up to 200 characters, which covers values far beyond 64-bit range. Precision stays exact because the conversion uses big integers.

Related conversions

Open the full unit converter