Skip to content
Popular Tools

Hex to Decimal

Convert a hexadecimal number to decimal instantly, e.g. FF → 255.

  • Free
  • No sign-up
  • Runs in your browser
Output

Your result will appear here.

What does Hex to Decimal do?

Hex to Decimal converts a hexadecimal (base-16) number to an ordinary decimal number.

What you can use

Hex digits 0–9 and A–F, upper or lower case. A 0x prefix is fine.

Example

Input

FF

Output

255

How to use Hex to Decimal

  1. Step 1

    Paste the hex value.

  2. Step 2

    Press Convert.

  3. Step 3

    Copy the decimal result.

Good to know

  • Each hex digit is 4 bits, so two digits (00–FF) make one byte (0–255).
  • Colour codes like #1E40AF are three hex bytes: red 30, green 64, blue 175.

Your privacy

Everything happens in this browser tab: what you paste is converted by JavaScript on your device and never sent to our server. Closing the tab clears it. Even so, don’t paste live passwords, API keys or customer records into any website.

All Popular Tools

Frequently asked questions

Is Hex to Decimal free?

Yes. Hex to Decimal is completely free, with no sign-up, no watermark and no daily limit.

Is the data I paste sent to a server?

No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.

Why do I get an error?

Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.