Binary to Hex Converter

Convert binary numbers to hexadecimal.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert binary to hex

Enter a string of binary digits to read it in hexadecimal, and the tool converts back the other way too. Programmers lean on this pairing because every group of four bits becomes exactly one hex digit, which makes long binary strings far shorter and easier to scan. The input is checked for valid binary first.

How it reads

The binary 11111111 is FF in hex, since each half of the eight bits becomes an F.

Frequently asked questions

Why does binary map so cleanly to hex?

Sixteen is two to the fourth power, so each set of four binary digits corresponds to exactly one hexadecimal digit with no rounding.

What is 1010 in hex?

The binary 1010 is decimal 10, which is A in hexadecimal.