Skip to content

Hex to binary converter

Enter a hex number and get its binary form. Each hex digit expands to exactly four bits, and the tool shows the conversion digit by digit.

  • Free, no limits
  • No sign-up
Everything happens in your browser; nothing is uploaded to a server.
  • ✓ Free
  • ✓ No sign-up
  • ✓ Nothing uploaded

Next step

What to do next

How to use it

  1. Type a hex number (0x prefix optional).
  2. Read the binary result, grouped in fours.
  3. Check how each hex digit becomes four bits.
  4. Copy the result or reverse the conversion.
Try it now

How to convert hex to binary

Replace each hex digit with its four-bit binary equivalent and join the groups:

Example: 3C

3 → 0011, C → 1100, so 3C = 0011 1100 = 111100 without the leading zeros.

Example: 0xA5F → 1010 0101 1111

HexBitsHexBits
0000081000
1000191001
20010A1010
30011B1011
40100C1100
50101D1101
60110E1110
70111F1111

This is handy for reading bit flags, network masks and color channels: 0xFF is 1111 1111 (all eight bits set) and 0x80 is 1000 0000 (only the top bit). The tool also reports how many bits the number uses. For the decimal value, use hex to decimal.

Frequently asked questions

What is F in binary?
What is 0xFF in binary?
How many bits is one hex digit?

Exactly four.

Last updated: November 12, 2026

Recommended

Similar tools

If Hex to binary helped, you may need these too.

See all in category →

People also use