Hex to Decimal

Enter a hex number (e.g. FF or 1A2B). Get the decimal (base 10) value. Handy for color codes and low-level debugging.

Convert to decimal

Enter hex (0-9, A-F) and click Convert.

How it works

Each hex digit is 0–15. We parse the string and compute value = sum of digit × 16^position. Case insensitive.

When to use it

Use when reading hex dumps or converting color values.

Frequently asked questions

  • Case sensitive? No. 0xff and 0xFF are the same.