Last updated: 2026-06-19
Hexadecimal to Binary Converter
Expand any hex value into its binary bits instantly.
A hexadecimal to binary converter turns base-16 values (0–9 and A–F) into base-2 bits. The two bases line up neatly: every single hex digit maps to exactly four binary digits, called a nibble. Enter a hex value below to see its bits, or use the reverse tool to pack binary back into compact hex.
How to convert hexadecimal to binary
- Type or paste your hexadecimal value into the Hexadecimal field (the # is optional).
- Read the binary result in the Result field.
- Use the copy button to grab the bit string.
Worked example: 2F in binary
Convert each hex digit to its 4-bit nibble: 2 is 0010 and F is 1111. Join them to get 00101111, which is 0010 1111. Dropping the leading zero gives 101111, the value this tool returns for 2F.
Reference table
| Decimal | Hex | Binary |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| 10 | a | 1010 |
| 11 | b | 1011 |
| 12 | c | 1100 |
| 13 | d | 1101 |
| 14 | e | 1110 |
| 15 | f | 1111 |
Convert binary to hex
Have a bit string instead? Use the reverse converter to pack it into compact hexadecimal.
Frequently asked questions
- How do I convert hex to binary quickly?
- Replace each hex digit with its four-bit binary pattern from the nibble table, then join them in order. Because one hex digit always equals four bits, no division is needed.
- What is FF in binary?
- FF is two F nibbles, and F is 1111, so FF is 11111111 — eight set bits, the largest value in a single byte.
- Why is hex so convenient for binary?
- A byte is eight bits, which splits cleanly into two groups of four. Each group is one hex digit, so any byte is just two hex characters instead of eight bits.
- Does the converter keep leading zeros?
- No. It returns the numeric value, so leading zeros are dropped (2F becomes 101111). Pad to a multiple of four bits yourself if you need byte-aligned output.