BinaryConverter

Hex Converter

Convert hexadecimal to decimal, binary, octal, text and ASCII — instantly, in your browser. Type a hex value below to see it in decimal, or pick a specific conversion.

All hex conversions

Every hexadecimal conversion has its own tool, examples and reference table.

What is hexadecimal?

Hexadecimal — hex for short — is a base-16 number system. It uses the ten digits 0–9 and then the letters A–F for the values 10 to 15, so a single hex digit covers 0 to 15. Because 16 is 2 to the 4th power, each hex digit maps to exactly four binary bits, which is why programmers use hex as a compact shorthand for binary.

You will see hex in colour codes such as #FF8800, in memory addresses, in byte values and in error codes. To turn hex into a normal number, give each digit its place value (1, 16, 256, …), turn any letters into 10–15, then multiply and add.

Examples 1A = 26FF = 255100 = 256

Hex Table

Each hex digit with its decimal and 4-bit binary value.

Hex digits with decimal and binary values
HexDecimalBinary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111

Frequently asked questions

What is a hex converter?

A hex converter changes hexadecimal numbers to and from other formats — decimal, binary, octal and text. Hexadecimal is base 16, using the digits 0–9 and the letters A–F for the values 10 to 15.

What is hexadecimal used for?

Hex is a compact way to write binary: each hex digit stands for four bits. It is used for colour codes like #FF8800, memory addresses, byte values and error codes.

How do you read hex?

Read each digit as 0–9, then A–F for 10–15, with each position worth 16 times the one to its right. So 1A is 1×16 + 10 = 26.

What is FF in hex?

FF is 255 in decimal and 11111111 in binary — the largest value a single byte can hold.