Hex to Binary Converter

Transform hexadecimal values to binary sequences instantly

0 digits

Try an example:

Enter a hex value and click convert to see each hex digit expanded to 4 binary bits.

Tip: Each hex digit maps to exactly 4 binary bits. Just expand each digit and concatenate — no math required! You can enter values with or without the 0x prefix.

How Hex to Binary Conversion Works

Converting hex to binary is the easiest base conversion you'll ever do — and that's exactly why hexadecimal exists in the first place. Because 16 = 2^4, every single hex digit corresponds to exactly four binary digits. There's no complex division, no positional math. You just look up each hex character and write down its 4-bit binary equivalent.

For example, 0xFF — F is 15 in decimal, which is 1111 in binary. So FF becomes 11111111. That's 8 bits, or one byte. This 1-to-4 mapping is why hex became the standard notation in computing: one hex digit equals half a byte (a "nibble"), and two hex digits equal one full byte. I use this constantly in my day-to-day work. When I'm looking at a binary protocol specification and it says "byte 3 is 0x3F," I don't need a converter to know that's 00111111 — I just know 3 = 0011 and F = 1111, so 0x3F = 00111111. Once you've done it a few hundred times, it becomes automatic.

Step-by-Step Hex to Binary Conversion

  1. Split the hex string — Break it into individual hex digits (0-9, A-F).
  2. Look up each digit — Each hex digit maps to a 4-bit binary value.
  3. Concatenate — Join all the 4-bit groups in order. Remove leading zeros if desired.

Example: 0x1A2B1 = 0001, A = 1010, 2 = 0010, B = 1011 → 0001101000101011.

Hex Digit to Binary Reference

  • 0 = 0000, 1 = 0001, 2 = 0010, 3 = 0011
  • 4 = 0100, 5 = 0101, 6 = 0110, 7 = 0111
  • 8 = 1000, 9 = 1001, A = 1010, B = 1011
  • C = 1100, D = 1101, E = 1110, F = 1111

When Hex to Binary Conversion is Essential

If you've ever looked at a memory dump, a packet capture, or an assembly listing, you've seen hex. Ethernet MAC addresses, IPv6 addresses, SHA hashes, and Unicode code points are all displayed in hex by convention. The reason is simple: hex is human-readable binary. A 32-bit binary number like 11110000101010101111000010101010 is basically unreadable, but its hex equivalent F0AAF0AA is instantly parsable.

I mentor junior developers pretty regularly, and one of the first things I teach them is the hex-to-binary mapping. Not because they'll need to convert by hand every day, but because understanding that relationship demystifies a huge chunk of computing. When someone understands that 0x80 means "the most significant bit of a byte is set," they start reading bitfield specifications, status registers, and flag bytes like they're reading plain English. A hex to binary converter is the training wheels — use it enough and eventually you won't need it.

Related Tools

Binary to Hex → Binary to Decimal → Decimal to Binary → Octal to Binary → Binary Calculator → Binary Translator Home →