Hex to Decimal Converter
Convert a hexadecimal number to decimal.
Updated
This tool runs in your browser. No account or signup is required.
Common HEX to Decimal tasks
Developers typically reach for this page when they need to convert hexadecimal to decimal online; turn FF into decimal; convert a base 16 number. The tool is built for quick, practical work rather than a generic demo.
What matters in a hex to decimal workflow
When developers compare online tools for this job, the useful capabilities tend to center on positional breakdown, prefix support, binary/octal equivalents. This page keeps those practical needs in mind while linking to related tools when a different workflow is a better fit.
What is HEX to Decimal?
HEX to Decimal converts a whole number from one base to another using the From and To base selectors. Letters in the result are uppercase.
What problem does it solve?
Bit masks, memory addresses, color codes and permissions all show up in different bases, and converting by hand is slow and error-prone.
How to use HEX to Decimal
- Set the From and To bases.
- Type your number.
- Copy the converted value.
Example
Input
FF (from base 16 to base 10)
Output
255
What you can do with HEX to Decimal
- Hex to decimal
- Convert hex online
- What is FF in decimal?
Common use cases
- Reading bit flags and masks
- Converting hex values from a debugger or a spec
- Learning how number bases relate
Related developer tasks
- Hex to decimal
- Convert hex online
- What is FF in decimal?
How to convert hex to decimal
Each hex digit is a power of 16, from the right. The letters A to F stand for 10 to 15.
FF = 15x16 + 15x1 = 255 1A = 1x16 + 10x1 = 26
Hex to decimal in this tool
- Set From to Hex (16) and To to Decimal (10), then type the hex number.
- Upper and lower case digits both work.
- Hex color codes are three separate bytes, so use the HEX to RGB converter for colors.
Related: Decimal to Hex, HEX to RGB Converter, Number Base Converter
HEX to Decimal FAQ
What if I see "Invalid number for base"?
The input has a character that does not exist in the From base, for example a 2 in a binary number.
Are fractions supported?
The tool works on whole numbers. Anything after a decimal point is ignored.
Can I include the 0x prefix?
Yes. A leading 0x is accepted when the From base is Hex (16).
Related Developer Tools
- Decimal to HEX Text & Data
- Number Base Converter Text & Data
- Binary to Decimal Text & Data
- HEX to RGB Web Tools
- RGB to HEX Web Tools
Looking for something else? Browse all developer tools.

