Hex to Binary Converter
A hex to binary converter replaces each hexadecimal digit with the four bits it stands for.
Example: A = 1010
Text tools on this site use UTF-8 (the letter A is the byte 01000001). This page converts a whole number between bases and does not encode characters.
Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).
HexadecimalBinary
1010
Convert A and FF to binary, step by step
- Memorize one nibble. Each hex digit is exactly four bits. A is 1010, F is 1111, and 0 is 0000.
- Expand A. The single digit A becomes 1010. That is decimal 10.
- Expand FF. F is 1111 and F is 1111, so FF is 11111111, which is decimal 255.
Hex digit to 4-bit binary
| Hex | Binary | Decimal |
|---|---|---|
| 0 | 0000 | 0 |
| 1 | 0001 | 1 |
| A | 1010 | 10 |
| F | 1111 | 15 |
| FF | 11111111 | 255 |
| 10 | 00010000 | 16 |
Frequently Asked Questions
How do you convert hex to binary?
Replace every hex digit with its 4-bit pattern and concatenate the patterns. Do not convert the whole number to decimal first unless you want a cross-check.
What is A in binary?
A is 1010. Hex digits run 0–9 and then A=10, B=11, C=12, D=13, E=14, F=15.
What is FF in binary?
FF is 11111111. Each F contributes four 1 bits, and the value is 255 in decimal.
Should I write a 0x prefix?
The converter accepts an optional 0x prefix. 0xFF and FF are the same number.
Related tools & guides
Binary to hex
Pack bits back into nibbles.
Text to hex
Encode letters as UTF-8 bytes, not as a single integer.
Hex to text
Decode byte hex such as 48 69 into Hi.
All number bases
Binary, octal, decimal, and hexadecimal in one place.
ASCII table
Characters 0–127 and extended ASCII with dec, hex, oct, and bin.