Base-16

Hexadecimal Number System

Hexadecimal compresses long binary strings into something people can scan quickly. It is widely used in memory views, color codes, encodings, and low-level debugging.

Hex Converter

Enter a hexadecimal value to see its decimal and binary equivalents.

Hex

2A

Decimal

42

Binary

00101010

Why Hex Works Well

4 bits per digit

Each hexadecimal character maps exactly to one nibble, which makes binary conversion fast and predictable.

Compact format

`11111111` is much easier to scan as `FF`, especially in logs, dumps, and configuration values.

Real-world usage

Memory addresses, color values, packet data, hashes, and file headers often appear in hexadecimal.

Nibble Reference

HexDecimalBinary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111