Find your next tool

Browse tools or search by task

Explore JSONToonPro

Number Converter Tools

Hex to Binary Converter Online

Convert hexadecimal to binary online with optional 4-bit grouping. Accept 0x-prefixed values and copy clean binary output instantly.

Runs locally in your browser. Nothing you paste is uploaded.

Hex to Binary workspace
Hexadecimal to Binary
Hexadecimal (Base 16)
Binary (Base 2)
Result appears here...

How to Convert Hexadecimal to Binary

Enter an integer using 0 through 9 and A through F. The converter reads it in base 16 and writes the same value in base 2. Copy the output or reverse the direction to verify it. Whitespace grouping does not change the value.

How Hexadecimal and Binary Represent Values

In hex, each place is a power of 16; in binary, each place is a power of 2. Starting at the right, multiply each digit by its place value and add the results. Conversion changes notation, not magnitude.

Hexadecimal to Binary Conversion Examples

For example, 2A in hex equals 101010 in binary, and both equal decimal 42. Work through the positional sum on a small example before converting a long identifier. Leading zeros affect display width but not the integer value.

Common Uses and Edge Cases

The tool accepts signed integers and uses exact integer arithmetic. It does not interpret a negative value as a fixed-width two’s-complement bit pattern. Fractions and scientific notation are not supported. Use the text translators for encoded bytes rather than treating a whole message as one number.

More examples and technical details

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

How do I convert hexadecimal to binary?

Read the input as base 16 and express its value in base 2; enter it here for an automatic result.

Can this converter handle negative or large values?

Yes. Signed and large integers use exact BigInt arithmetic, subject to practical browser resource limits. Fractions are not supported.

How can I verify the binary result?

Convert binary back to hex and compare the numeric value; leading zeros may be normalized.

Is the conversion processed in my browser?

Yes. No number is sent to a conversion server.