Hexadecimal

Hex (base 16) is a compact way to write binary values. Edit any field to update the others.

What is hexadecimal?
Base 16, and why it makes binary easier to read.

Hexadecimal is a number system that uses 16 digits: 0–9 for zero to nine, and A–F for ten to fifteen.

The useful thing about hex is that one hex digit maps exactly to four binary digits. A group of four bits is called a nibble, so converting between binary and hex is just swapping each nibble for one hex digit.

Binary01000001
Hex41

That means an 8-bit byte is always two hex digits. It is the reason colour codes look like #FF8800 and why memory addresses are written as hex: much shorter than binary, but still a clean view of the underlying bits.

Converter
Hexadecimal, decimal, and binary stay in sync.

Hex keypad

Decimal keypad

Binary keypad

Hex digit reference
The sixteen hex digits and their decimal/binary values.
HexDecimalBinary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111