Skip to main content
chain
Hex to Decimal
⌃⏎ run · clear · / focus input
Decimal · base 10
send result to
no matches
Hexadecimal · base 16
Binary · base 2
Octal · base 8
Enter a hexadecimal value above to convert it
// about this tool

Hex to Decimal Online

Updated 2026-08-19

Convert hexadecimal to decimal online for free. Paste a hex value — with or without a 0x prefix — and SnapTools shows its base-10 value instantly, in your browser. Nothing you enter is uploaded.

Hex is everywhere in computing — colour channels, byte values, memory addresses — but to reason about sizes and ranges you often need the plain decimal number. This converter does the positional arithmetic (each digit times a power of 16) in one step, so FF becomes 255 and 0x1A becomes 26. For every base at once, use the Number Base Converter.

// how to use

  1. 1 Paste or type a hexadecimal value into the input (a leading 0x and spaces are fine).
  2. 2 SnapTools converts it to a decimal (base-10) number as you type.
  3. 3 Copy the decimal result, or open the Number Base Converter for all bases at once.

// examples

Byte value
Input
FF
Output
255
With 0x prefix
Input
0x1A
Output
26

// common uses

Turning a hex byte or colour channel into a number Reading memory addresses or status codes as decimals Learning positional notation in base 16 Checking a manual hex-to-decimal conversion

// faq

Is my input uploaded to a server?
No. The conversion runs entirely in your browser, so nothing you enter leaves your machine.
How do I convert hex to decimal by hand?
Multiply each digit by 16 raised to its position (from the right, starting at 0) and add them up. So 1A is 1×16 + 10 = 26. This tool does the arithmetic instantly.
What does the letter A-F mean in hex?
Hexadecimal needs 16 digits, so after 9 it uses A-F for the values 10 through 15. A is 10, B is 11, up to F which is 15.
Does it accept a 0x prefix?
Yes. A leading 0x (or 0X) and separating spaces are ignored, so you can paste values straight from code or a debugger.
What if my input is not valid hex?
Hexadecimal only uses 0-9 and A-F. Any other character is flagged so you can correct it rather than getting a wrong number.

Use this via API

Get a free API key →
curl -X POST https://thesnaptools.com/api/v1/tools/hex-to-decimal \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"number":"FF"}'