Hexadecimal to Binary Converter

Convert between binary and hexadecimal numbering systems using the converter below. Enter either binary or hex numbers, and instantly convert them to the other system. You can also discover the binary equivalents of hexadecimal numbers ranging from "0" to "F" in the hex to binary table.

conversion 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
Hex
Binary

Below, you may find information for how to convert from hex to binary and how to convert from binary to hex, including example conversions.

How to convert hex to binary?

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

1 - Separate the hexadecimal 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 with their hex equivalent. Here is the step by step conversion from binary to hexadecimal:

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 hexadecimal equivalent.

4 - Combine the hexadecimal 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

What is Hexadecimal Numeral System?

Hexadecimal (hex) system is a base-16 numeral system that uses 16 symbols (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) to represent values from 0 to 15.

The hex numeral system is mostly used in computing to represent binary numbers in a friendly way. Each of the symbols in hex numbers are the representation of four binary bits.

To convert between hex and decimal numbers, please visit hex to decimal converter.

What is Binary Numeral System?

Binary system is base-2 numeral system that uses only "1" and "0" to represent any number.

To convert between decimal and binary numbers, please visit decimal to binary converter.