JSONToonPro
Number converter tool

Hex to Binary Converter

Convert hexadecimal numbers (base 16) to binary (base 2) instantly. Each hex digit expands to exactly 4 binary bits, paste your hex value with or without the 0x prefix and get the full binary result.

100% client sideInstant resultNo data sent
Hexadecimal to Binary
Hexadecimal (Base 16)
Binary (Base 2)
Result appears here...

How to Convert Hexadecimal to Binary

Converting hexadecimal to binary by hand is straightforward once you know the routine. The converter above does it instantly, but working through the steps yourself is the fastest way to understand what is actually happening to the digits.

  1. Take each hexadecimal digit on its own.
  2. Replace every digit with its 4 digit binary equivalent, keeping leading zeros.
  3. Join the groups together in the same order.
  4. Drop any leading zeros if you want the shortest form.

Worked example: AA

A = 1010
A = 1010
Joining the groups: 1010 1010

Result: (AA)¹⁶ = (10101010)²

The Hexadecimal System

Hexadecimal is the base 16 system. It uses the digits 0 through 9 and then the letters A through F to stand for the values 10 through 15. Its key property is that one hex digit represents exactly four binary digits, a nibble, so a single byte is always two hex characters. That compactness is why hex shows up everywhere in computing: HTML colour codes such as FFFFFF for white and 000000 for black, memory addresses, MAC addresses, hash digests, and byte level debugging output.

Hexadecimal uses the digits 0 through 9 and A through F.

The Binary System

Binary is the base 2 numeral system. It uses only two symbols, 0 and 1, and each digit is called a bit. Every digital circuit ever built relies on it, because a transistor has two reliable states, on and off, which map directly onto 1 and 0. Place values double as you move left: 1, 2, 4, 8, 16, 32 and so on. Eight bits make one byte, which can hold 256 distinct values, enough for every character in the original ASCII set.

Binary uses the digits 0 and 1.

Hexadecimal to Binary Conversion Examples

(40)¹⁶ = (1000000)²
(FF)¹⁶ = (11111111)²
(400)¹⁶ = (10000000000)²

Hexadecimal to Binary Conversion Chart

A full reference table for the values 1 to 256. Use it to check a conversion quickly or to look up a common value without typing anything.

HexadecimalBinary
100000001
200000010
300000011
400000100
500000101
600000110
700000111
800001000
900001001
A00001010
B00001011
C00001100
D00001101
E00001110
F00001111
1000010000
1100010001
1200010010
1300010011
1400010100
1500010101
1600010110
1700010111
1800011000
1900011001
1A00011010
1B00011011
1C00011100
1D00011101
1E00011110
1F00011111
2000100000
2100100001
2200100010
2300100011
2400100100
2500100101
2600100110
2700100111
2800101000
2900101001
2A00101010
2B00101011
2C00101100
2D00101101
2E00101110
2F00101111
3000110000
3100110001
3200110010
3300110011
3400110100
3500110101
3600110110
3700110111
3800111000
3900111001
3A00111010
3B00111011
3C00111100
3D00111101
3E00111110
3F00111111
4001000000
HexadecimalBinary
4101000001
4201000010
4301000011
4401000100
4501000101
4601000110
4701000111
4801001000
4901001001
4A01001010
4B01001011
4C01001100
4D01001101
4E01001110
4F01001111
5001010000
5101010001
5201010010
5301010011
5401010100
5501010101
5601010110
5701010111
5801011000
5901011001
5A01011010
5B01011011
5C01011100
5D01011101
5E01011110
5F01011111
6001100000
6101100001
6201100010
6301100011
6401100100
6501100101
6601100110
6701100111
6801101000
6901101001
6A01101010
6B01101011
6C01101100
6D01101101
6E01101110
6F01101111
7001110000
7101110001
7201110010
7301110011
7401110100
7501110101
7601110110
7701110111
7801111000
7901111001
7A01111010
7B01111011
7C01111100
7D01111101
7E01111110
7F01111111
8010000000
HexadecimalBinary
8110000001
8210000010
8310000011
8410000100
8510000101
8610000110
8710000111
8810001000
8910001001
8A10001010
8B10001011
8C10001100
8D10001101
8E10001110
8F10001111
9010010000
9110010001
9210010010
9310010011
9410010100
9510010101
9610010110
9710010111
9810011000
9910011001
9A10011010
9B10011011
9C10011100
9D10011101
9E10011110
9F10011111
A010100000
A110100001
A210100010
A310100011
A410100100
A510100101
A610100110
A710100111
A810101000
A910101001
AA10101010
AB10101011
AC10101100
AD10101101
AE10101110
AF10101111
B010110000
B110110001
B210110010
B310110011
B410110100
B510110101
B610110110
B710110111
B810111000
B910111001
BA10111010
BB10111011
BC10111100
BD10111101
BE10111110
BF10111111
C011000000
HexadecimalBinary
C111000001
C211000010
C311000011
C411000100
C511000101
C611000110
C711000111
C811001000
C911001001
CA11001010
CB11001011
CC11001100
CD11001101
CE11001110
CF11001111
D011010000
D111010001
D211010010
D311010011
D411010100
D511010101
D611010110
D711010111
D811011000
D911011001
DA11011010
DB11011011
DC11011100
DD11011101
DE11011110
DF11011111
E011100000
E111100001
E211100010
E311100011
E411100100
E511100101
E611100110
E711100111
E811101000
E911101001
EA11101010
EB11101011
EC11101100
ED11101101
EE11101110
EF11101111
F011110000
F111110001
F211110010
F311110011
F411110100
F511110101
F611110110
F711110111
F811111000
F911111001
FA11111010
FB11111011
FC11111100
FD11111101
FE11111110
FF11111111
100100000000

Need a different pair of bases? Browse every number converter tool including binary, octal, decimal, and hexadecimal in both directions.

Frequently asked questions

4 answers
Replace each hex digit with its 4-bit binary equivalent. For example, 0xA3 → A = 1010, 3 = 0011 → 10100011. You do not need division, just look up each digit's 4-bit representation. The result can be zero-padded on the left to make a full byte or word.

More JSON Tools

About Hex to Binary Conversion

Hex to binary conversion is one of the most common tasks in embedded systems, digital electronics, and network programming. Because hex digits map directly to 4-bit groups, the conversion requires no arithmetic, just a substitution table. Engineers use this when reading memory dump output, analyzing network packets, or working with binary protocols where hex is shown but bit-level analysis is needed. This tool converts any hex string to the full binary expansion in one step.