Utility Tools

Binary to Hex Converter

Turn long strings of 8-bit binary groups into compact hexadecimal bytes.

Jump to tool

What Is Binary to Hex Conversion?

Binary to hex conversion shortens long strings of 0s and 1s into hexadecimal, where every four bits become one digit. A byte such as 01000001 becomes 41, which is far easier to read and compare.

Enter complete 8-bit groups and the tool returns each byte as a two-digit hex value, separated by spaces.

How to Convert Binary to Hex

  1. Enter complete 8-bit groups under Enter binary code, or select Load example.
  2. Read the bytes under Hex output, such as 48 65 6C 6C 6F.
  3. Select Copy hex or Download to keep the result.

The Method

Split each byte into two groups of four bits and replace each group with one hex digit. 01000001 becomes 0100 and 0001, which are 4 and 1, so the byte is 41 in hex, the letter A in ASCII.

Examples

BinaryHex
000011110F
10101010AA
11111111FF
01001000 01100101 01101100 01101100 0110111148 65 6C 6C 6F

Where You'll See Hex

  • Colour codes in web design, such as #FF5733.
  • MAC addresses and IPv6 addresses.
  • Memory addresses, hashes and file signatures in programming.

Binary to Hex Converter FAQ

Convert hex back to binary

Expand hexadecimal into bits.

Hex to Binary Converter