Hex Converter

Enter a hexadecimal value such as FF2A or 0xDEADBEEF and see the decimal, binary and octal equivalents instantly. It is exact for long values like hashes and addresses.

How to use the Hex Converter

  1. Type a hex number (0–9 and A–F, with or without 0x).
  2. Read the decimal, binary and octal values.
  3. Inspect the binary in nibbles and bytes.
  4. Copy the base you need.

Features

Benefits

Frequently asked questions

What digits are valid in hexadecimal?

0–9 and A–F (or a–f). Each hex digit represents exactly four binary bits.

Can I convert a CSS colour like #FF8800?

Remove the # and enter FF8800 to get its integer value. For RGB channels, convert each pair (FF, 88, 00) separately.

Is 0x required?

No. The 0x prefix is optional and is ignored if present.

Related tools