Skip to content
Binary Translator
Menu

Binary to Hex Converter

Enter a binary number to get its hexadecimal value. The converter shows each group of four bits and the hex digit it becomes.

Updated · UTF-8 text encoding

Groups of 4 are easiest to read, but any length works.

Hexadecimal

DEAD

1101→D 1110→E 1010→A 1101→D

Decimal value: 57,005

How to convert binary to hexadecimal

  1. Start from the right and split the binary into groups of four. Add zeros to the left of the last group if it's short.
  2. Swap each group for its hex digit using the chart below.
  3. Write the digits in the same order.

Example: 1101011 becomes 0110 1011, which is 6B. No arithmetic on the whole number is needed, which is what makes hex so convenient.

Binary to hex chart

HexBinaryDecimalHexBinaryDecimal
000000810008
100011910019
200102A101010
300113B101111
401004C110012
501015D110113
601106E111014
701117F111115

For the other direction, use the hex to binary converter. If you need the value as an ordinary number, the binary to decimal converter shows the place values.

Questions people ask

How do you convert binary to hex?

Group into 4s from the right and swap each group for one hex digit. 1011 1100 = BC.

Why do programmers use hex instead of binary?

Each hex digit is exactly 4 bits, so hex is shorter and converts back instantly. A byte is always two hex digits.

Sources

More binary converters