Forgly

Binary to Hexadecimal Converter

Convert binary (base-2) numbers to hexadecimal (base-16).

Try an example:
Binary (2)
11111111
Octal (8)
377
Decimal (10)
255
Hexadecimal (16)
ff

Converting Binary to Hexadecimal

Because 16 equals 2 to the 4th power, each hex digit maps to exactly four binary bits, so this conversion is a simple regrouping.

How to convert Binary to Hexadecimal by hand

  1. Split the binary number into groups of four bits, starting from the right.
  2. Pad the leftmost group with leading zeros if needed.
  3. Convert each 4-bit group to its hex digit (0000 = 0 … 1111 = F).

Worked example

11111111 (binary)FF (hex)1111 = F and 1111 = F, giving FF.

More converters

Frequently asked questions

How do I convert Binary to Hexadecimal?

Split the binary number into groups of four bits, starting from the right. Pad the leftmost group with leading zeros if needed. Convert each 4-bit group to its hex digit (0000 = 0 … 1111 = F). Or just use the converter on this page — it does it instantly. Example: 11111111 (binary) becomes FF (hex).

What is 11111111 (binary) in hexadecimal?

11111111 (binary) converts to FF (hex). 1111 = F and 1111 = F, giving FF.

Is this converter free and private?

Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.