Hex to Decimal Converter

Convert hex to decimal in your browser, one value or a whole list. Arbitrary precision, 0x prefixes handled. Free, instant, no upload.

Hex inputpaste, type, or drop a file
Number output
Runs 100% in your browser. Nothing is uploaded, logged, or stored, and there are no ads. Verify it yourself: open your browser's Network tab while you convert and watch that no requests leave this page.

About this tool

Convert hexadecimal numbers to decimal (base 10). Paste one value or a whole list separated by spaces, commas, or newlines, and every value converts at once; 0x prefixes and mixed upper/lower case are handled automatically.

Conversion is exact at any size thanks to arbitrary-precision arithmetic, which matters for 64-bit identifiers and offsets where floating-point calculators silently round the low digits.

Common uses

  • Turn a hex memory address, offset, or ID from a debugger into a readable number.
  • Convert a column of hex values from a log file in one paste.
  • Check a hex constant in code against the decimal value in a spec.

Automate via API

The same conversion is available as a REST endpoint for scripts, pipelines, and backends:

curl -X POST https://payloadly.com/api/v1/tools/hex-to-decimal \
  -H "Content-Type: text/plain" \
  -H "X-Api-Key: YOUR_API_KEY" \
  --data-binary @input.txt

API documentation · Get an API key

Hex notes

Hexadecimal (base 16) uses the digits 0-9 and a-f, so one hex digit represents exactly four bits. It is the standard notation for memory addresses, byte dumps, color codes, and hashes.

  • Hex values are case-insensitive; 0xFF and 0xff are the same number.
  • A leading 0x prefix is a convention, not part of the value.
  • Each hex digit maps to exactly one 4-bit nibble, which is why hex-binary conversion is mechanical.

Frequently asked questions

Is my data uploaded to a server?

No. This tool runs entirely in your browser using JavaScript, and there are no ads on the page. Nothing you paste or drop here is uploaded, logged, or stored, and you can verify that yourself: open your browser's developer tools and watch the Network tab while you convert (no requests leave the page), or disconnect from the internet after the page loads and keep working.

How does hex to decimal conversion actually work?

Each hex digit is a power of 16. Working right to left: 1f4 is 4x1 + 15x16 + 1x256 = 500. The letters a-f stand for 10-15. This tool does the same arithmetic with arbitrary precision, so nothing is rounded no matter how long the value is.

Can I convert many values at once?

Yes. Separate values with spaces, commas, or one per line, and the output preserves the order, one result per line. For automated bulk conversion inside a pipeline, the same tool is available through the REST API.

Is there a size limit or a fee?

The browser tool is free with no signup and comfortably handles files up to tens of megabytes (limited by your device's memory). For automated or bulk processing inside your own scripts and pipelines, use the paid REST API.

Related tools