# Hexadecimal to Binary Number Conversion

hex to binary table

 hex 0 1 2 3 4 5 6 7 8 9 A B C D E F bin 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Enter Hex
Enter Binary

## How to convert hex to binary?

To convert hex to binary (base-16 to base-2), replace each individual hex digit by its binary equivalent and combine. These are the steps to convert from hex to binary:

1 - Separate the hex digits.

2 - Get the binary equivalent for each of the hex digits.

3 - Combine the binary digits into a single string.

4 - Delete any zeros at the beginning of the binary number before the first "1".

For example, these are the steps to convert hex number "3CD" to binary:

Hex digits are 3, C and D

3DC = (3 = 0011) (C = 1100) (D = 1101)

3DC = 0011 1100 1101

3DC = 1111001101

Please visit base converter to convert between all number bases.

## How to convert binary to hex?

To convert from binary to hex, working from right to left, replace the group of four binary digits by their hex equivalent. Here is the step by step conversion from binary to hex:

1 - Starting from the last binary digit to the first, split the binary number into groups of four binary digits.

2 - If the first binary group is less than four digits, add "0" at the beginning of that group.

3 - For each of the binary groups, get the hex equivalent.

4 - Combine the hex digits into a single string.

For example, these are the steps to convert binary number "1110111001" to hex:

1110111001 = 11 1011 1001

1110111001 = 0011 1011 1001

1110111001 = 3 B 9

1110111001 = 3B9