Binary to Hex Converter

Convert binary ↔ hexadecimal instantly. Group bits into 4-bit nibbles — 11111111 becomes FF. Free and private.

BinaryHexadecimal
FF

How to convert binary to hex by hand

  1. Write the binary string. Pad on the left with zeros so the length is a multiple of 4.
  2. Split into 4-bit groups (nibbles) from the right.
  3. Map each nibble to a hex digit using the table below.
  4. Join the hex digits — that is your hexadecimal value.

Example: 1101 1110 → D E → DE (decimal 222). Reverse the map for hex to binary.

Need all four bases at once? Open the binary converter. Deep dive: nibble guide.

Nibble reference (4 bits → hex)

BinaryHexBinaryHex
0000010008
0001110019
001021010A
001131011B
010041100C
010151101D
011061110E
011171111F

Binary ↔ hex examples

BinaryHexDecimal
000000
1010A10
1111F15
11111111FF255
000100001016
11011110DE222

Frequently Asked Questions

How do I convert binary to hex?

Group binary bits into nibbles of 4. Each nibble maps to one hex digit (0000=0 … 1111=F). Example: 11111111 → FF. Use the converter above for longer values.

How do I convert hex to binary?

Replace each hex digit with its 4-bit binary equivalent. F → 1111, so FF → 11111111. Swap the converter direction to go hex → binary.

Why do programmers prefer hex over binary?

Hex packs four bits into one character, so memory addresses and color codes stay short and readable while still mapping cleanly to machine bits.

Is this binary to hex converter free?

Yes. No signup, no uploads — conversion runs entirely in your browser.

Related tools & guides