Convert Binary to Hexadecimal

Enter a Binary number to get its Hexadecimal value — plus every other common base. Exact even for huge integers, all in your browser.

Worked example

11111111 in Binary converts to ff in Hexadecimal. The converter above is pre-filled with this value — edit it to see the result update live.

Binary to Hexadecimal reference table

DecimalBinaryHexadecimal
10 1010 a
16 10000 10
32 100000 20
100 1100100 64
255 11111111 ff

Common uses

Commonly used in programming and electronics to compress long, unreadable binary strings into compact hex codes.

Related conversions

Need another base? The full number base converter handles any base from 2 to 36 and converts them all simultaneously.

Frequently asked questions

How do I convert Binary to Hexadecimal?

Enter your Binary value into the converter above and it shows the Hexadecimal equivalent — along with every other base — instantly. For example, 11111111 in Binary becomes ff in Hexadecimal.

Can it handle very large numbers?

Yes. The converter uses arbitrary-precision math, so even numbers with hundreds of digits convert exactly without the rounding errors you'd get from a normal calculator.

Is my data sent to a server?

No. Every conversion runs locally in your browser using standard JavaScript BigInt math, so nothing you enter is uploaded.