Hexadecimal to Binary

Convert hexadecimal to binary instantly — write each hex digit as its four-bit binary group. Type in either box to convert both ways. Handy for expanding a hex value into the exact bits it represents, for masks, flags and low-level work.

Hexadecimal to Binary conversion table

Hexadecimal Binary
1 1
2 10
4 100
8 1000
A 1010
10 10000
20 100000
40 1000000
64 1100100
80 10000000
FF 11111111
100 100000000

How to convert hexadecimal to binary

To convert hexadecimal to binary, write each hex digit as its four-bit binary group. For example, A in hexadecimal is 1010 in binary. The converter above validates each digit for its base and updates as you type, and the swap button flips the direction so you can go from binary back to hexadecimal just as quickly.

Frequently asked questions

How do you convert hexadecimal to binary?

To convert hexadecimal to binary, write each hex digit as its four-bit binary group. For example, A in hexadecimal is 1010 in binary. The converter above does it instantly — type a hexadecimal value on the left and the binary result appears on the right, and you can type in either box to convert in the opposite direction. It only accepts valid digits for each base, so a stray character simply clears the result rather than giving a wrong answer.

What is A in binary?

A in hexadecimal equals 1010 in binary. The conversion table on this page lists common values — 1 is 1, and it continues up to 100 = 100000000 — so you can read off everyday values at a glance. Any value in between converts exactly too, because the tool carries the full number rather than the rounded figures printed here.

What is the difference between binary, decimal and hexadecimal?

They are just different bases — different numbers of digits before you carry over. Decimal (base 10) is the everyday system with digits 0–9. Binary (base 2) uses only 0 and 1, which is how computers store everything at the hardware level. Hexadecimal (base 16) uses 0–9 then A–F, and is a compact way to write long binary values because each hex digit maps to exactly four bits. The same quantity can be written in any base; only its notation changes.

Is this hexadecimal to binary converter free and accurate?

Yes — it is completely free with no sign-up, and it converts exactly using the standard positional method, validating that every digit is legal for its base. Handy for expanding a hex value into the exact bits it represents, for masks, flags and low-level work. Everything runs locally in your browser, so nothing you enter is uploaded or stored. For octal, custom bases and step-by-step breakdowns, the full number base converter handles any base from 2 to 36.

More conversions

Binary → HexadecimalDecimal → OctalOctal → BinaryBinary → OctalHexadecimal → OctalOctal → HexadecimalBinary → DecimalDecimal → BinaryHexadecimal → DecimalDecimal → HexadecimalOctal → Decimal Number base converter →