Home » Developer Tools » Hex to Decimal Converter
Enter a hex value and get its exact decimal value, with the place value working shown.
Whole hex values only. Letters A to F mean 10 to 15. Conversion runs in your browser, so nothing is uploaded.
Hexadecimal, or hex, is base 16, and it is used for colors, memory addresses, and many programming values. The Hex to Decimal Converter turns a hex value into its everyday decimal number.
You can paste a value straight from code, with or without the 0x prefix, in upper or lower case. The place value working is shown too, so you can check the result.
Take each hex digit, from right to left, starting at position 0. Multiply the digit value by 16 to the power of its position, then add all the results. Letters A to F count as 10 to 15.
Yes, it is completely free with no sign up and no limits. You can convert as many hex values as you like.
Yes. You can enter a hex value with or without the 0x prefix, for example 0xFF or FF, and both give 255.
No. Upper case and lower case hex letters mean the same thing, so ff, FF, and Ff all give 255.
Yes. The converter uses BigInt arithmetic, so very long hex values convert exactly, with no rounding and no 32 bit or 64 bit limit.
The reverse conversion is decimal to hex. Use the Decimal to Hex Converter to turn a decimal number into a hex value.
No. All conversion happens in your browser on your own device, so your values never leave your computer.
For the reverse direction, try the Decimal to Hex Converter.