Number Base Tool

Hex Converter

Convert integers between hexadecimal, decimal, binary and octal instantly.

Enter an integer and the conversions update automatically.
HexadecimalFF
Decimal255
Octal377
11111111

How to convert hex

Hexadecimal is a base-16 number system. It uses 0–9 for values zero through nine and A–F for ten through fifteen. This tool parses the integer exactly and shows equivalent values in the other common bases.

Common uses for hex values

Hexadecimal is common in programming, debugging, memory addresses, bit masks, color notation and low-level data formats. This converter is for integer base conversion; CSS color values such as #FFAA00 are better treated as RGB color data rather than one large integer.

Frequently asked questions

Does lowercase hex work?

Yes. A–F are case-insensitive.

Are negative values supported?

Yes. Enter a leading minus sign before the number or prefix.

Does the converter support fractions?

No. This page intentionally focuses on exact integer conversions.