My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Binary to HEX

Convert one binary integer into uppercase hexadecimal.

Enter one nonnegative whole number, not a list of bytes.

How to use this tool

Enter one binary integer, optionally prefixed with 0b.

Important to know

Convert one binary integer into uppercase hexadecimal.

Only 0 and 1 are valid; leading zeroes are removed. Up to 1,024 digits are supported.

Formula and methodology

Repeatedly divide the base-2 integer by 16, mapping remainders 10–15 to A–F.

Example

11111111 becomes FF.

Frequently asked questions

Does this decode binary text?

No. Use Binary to Text for separate eight-bit character groups.