Hexadecimal to Binary Converter

To use this hex to binary converter tool, just type a hex value like 1E into the left field below, and then hit the Convert button. Therefore, you can convert up to 16 hex characters (max. value of 7fffffffffffffff).

swap conversion: Binary To Hex Converter

Hex to binary conversion result in base numbers

Hexadecimal System (Hex System)

The hexadecimal system (shortly hex), uses the number 16 as its base (radix). As a base-16 numeral system, it uses 16 symbols. These are the 10 decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the first six letters of the English alphabet (A, B, C, D, E, F). The letters are used because of the need to represent the values 10, 11, 12, 13, 14 and 15 each in one single symbol.

Hex is used in mathematics and information technologies as a more friendly way to represent binary numbers. Each hex digit represents four binary digits; therefore, hex is a language to write binary in an abbreviated form.

Four binary digits (also called nibbles) make up half a byte. This means one byte can carry binary values from 0000 0000 to 1111 1111. In hex, these can be represented in a friendlier fashion, ranging from 00 to FF.

In html programming, colors can be represented by a 6-digit hexadecimal number: FFFFFF represents white whereas 000000 represents black.

Binary System

The binary numeral system uses the number 2 as its base (radix). As a base-2 numeral system, it consists of only two numbers: 0 and 1. 

While it has been applied in ancient Egypt, China and India for different purposes, the binary system has become the language of electronics and computers in the modern world. This is the most efficient system to detect an electric signal’s off (0) and on (1) state. It is also the basis for binary code that is used to compose data in computer-based machines. Even the digital text that you are reading right now consists of binary numbers.

Reading a binary number is easier than it looks: This is a positional system; therefore, every digit in a binary number is raised to the powers of 2, starting from the rightmost with 20. In the binary system, each binary digit refers to 1 bit.

How to Convert Hex to Binary

Converting from hex to binary is straightforward since hexadecimal numbers are simplified versions of binary strings. You just need to remember that each hex value will produce four binary digits.

Let's apply these steps to the hex number (4FA)16

Step 1: 
4	F	A
4	15 	10

Step 2: 
4	F	A
4	15	10
8421 	8421 	8421

Step 3: 
4	F	A
4 	5	10
8421	8421	8421
(Notice the bold digits sum up to the hex value above. So the bold digits are 1 and the others are 0.)

Step 4:
4	F	A
4	15	10
8421	8421	8421
0100	1111	1010

Step 5: (4FA)16 = (10011111010)2

Hex to binary conversion examples

Example 1: (2C1)16 = (1011000001)2
2	C	1
2	12	1
8421	8421	8421
0010	1100	0001

Example 2: (9DB2)16 = (1001110110110010)2
9	D	B	2
9	13	11	2
8421	8421	8421	8421
1001	1101	1011	0010

Related converters: Binary To Hex Converter

Hexadecimal to Binary Conversion Chart

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

Recent Comments
BANDA INNOCENT 2021-04-23 17:29:27

Nice method but i needed the fractional method from hexa to binary

Tadele 2021-04-18 20:05:54

Change this name by using ASSC//-7 then convert into octal decimal and hexadecimal equivalent?

Guest 2021-04-16 16:58:59

Very helpful site, very easy to understand

Salmi 2021-03-19 09:13:54

Thank you very much. this was helpful and I have learned a lot.

Rashad 2021-03-01 05:52:23

Step 3 and 4 are confusing. please elaborate more..

Ame butt 2021-02-25 09:09:30

Thanks that help's alot

Solomon 2021-02-10 11:48:08

This was very very very easy to understand and useful

Gabriel 2021-01-27 19:08:45

good and helpful information

Tbone 2021-01-23 19:56:25

I'm an old retired chemistry teacher trying to teach myself electronics during this pandemic. Your presentation has helped me greatly.

Thank you

@GB4 2021-01-22 02:27:36

A "print friendly" print-option would make this excellent site even better.

Samuel 2021-01-16 03:02:01

Excellent site! And very helpful. One thing I would like to mention: I noticed that the hexadecimal - to - binary converter doesn't accept fractional amounts (ex: 317F.0B). After back-testing by hand, the resulting binary in this calculator was flawless, the only downside being that the 'decimal' point needs to be inserted by hand. Can't expect handouts in computer science though, so no complaints from me!

Aaryan Singh 2020-12-20 06:07:19

Haha.......its great and really helpfull.......My comment might sound like a typical comment but NGL it works and now i can understand my computer a lot better

Engineer Dennis Kipkorir 2020-11-23 05:30:10

Easy understandable method thanks

Tormentore 2020-11-04 18:01:28

hex to binary does weird things. For example 192 to binary does 000110010010. Why there are these three zeros on the left?

Godwin Attiogbe (Gh) 2020-08-11 10:28:29

Very useful information and technique.

Hafiz Saifullah feom IUB(Pakistan) 2020-06-21 20:53:23

There Should be an option to see the result either in full form or rounded form, rather just showing the full form.
for example binary of hex number '1abc' is '0001 1010 1011 1100', but on website there is only option to see this as '1101010111100' with removing leading zeroes along with spaces.
First style is useful in many cases like comparing 2 hex numbers for minimum/maximum leading zeros.
I hope my request is genuine, and you will pay attention to it.
Thank you.

ade 2020-06-16 13:32:13

thanks for making supposed hard stuff super easy

TI 99/4a 2020-05-26 19:36:35

What is the maximum number of bits? I'm creating a bitmap to hold code for a single 8*8 sprite. I need to know this.

Elue Henry 2020-05-18 11:35:36

Wow... This Hex2Bin method is super easy

maths calculator 2020-05-13 10:58:54

Provided very useful and easy way to understand number conversion step, thanks.

Share Your Comments