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
- Type a hex number (0–9 and A–F, with or without 0x).
- Read the decimal, binary and octal values.
- Inspect the binary in nibbles and bytes.
- Copy the base you need.
Features
- Case-insensitive input with optional 0x prefix
- Exact conversion for long hex strings
- Grouped hex and binary output
- Invalid digits are pointed out by name
Benefits
- Decode memory addresses, colour values and IDs
- Translate hex dumps while debugging
- Learn how each hex digit maps to four bits
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
- Pixel Converter — Convert px to pt, em, rem, %, inches, cm and mm at any DPI, with adjustable root and parent font sizes.
- Volume Converter — Convert litres, millilitres, cubic metres, US and UK gallons, pints, cups, fluid ounces and spoons accurately.
- Unit Converter — Convert length, weight, temperature, area, volume, speed, time, data, pressure and energy units on one page.
- Length Converter — Convert between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles.
- Weight Converter — Convert kilograms, grams, pounds, ounces, stones, tonnes, carats and grains with exact international factors.
- Temperature Converter — Convert temperatures between Celsius, Fahrenheit, Kelvin and Rankine using the correct offset formulas.