Hex to Decimal

Accepts 0x prefixes and both upper and lower case digits.

How Hex to Decimal works

Convert hexadecimal values to decimal, binary and octal. Accepts 0x prefixes and both upper and lower case digits. Everything happens inside this page: the tool reads your input, runs the calculation or conversion locally, and hands the result back to you. Nothing is transmitted, because there is no backend to transmit it to.

That design choice is deliberate. Most free tool sites upload your files to a server, process them there, and quietly keep a copy. Toolcin cannot do that — the site is a set of static files. If your connection dropped the moment the page finished loading, every tool would still work.

Each digit is sixteen times the last

Hexadecimal is base 16, so FF is 15 × 16 + 15 = 255. Reading left to right, each position is worth 16 times the one to its right, exactly as decimal positions are worth ten times.

That is why two hex digits map to one byte: 00 to FF covers 0 to 255.

Where hex is the working language

Colour values (#38F2CF is three bytes), memory addresses, hashes and MAC addresses. In each case the hex form is shorter and aligns to bytes, which decimal does not.

HexDecimalCommon context
0A10Newline character
1F31Unit separator
7F127Delete
FF255Maximum byte

Case and prefixes

a–f and A–F mean the same digits. A leading 0x is accepted and ignored, and spaces between bytes are tolerated — which matters when pasting a hex dump.

Good to know

  • Works offline once loaded, including on flights and in locked-down networks.
  • No file size limit beyond your device's own memory.
  • Free to use, with no account and no usage counter.
  • Results are produced locally, so they are not logged or shared with anyone.

Questions

Is anything uploaded when I use Hex to Decimal?

No. The calculation runs in your browser with JavaScript, so the values you enter never leave your device.

What should I check before relying on the result?

Accepts 0x prefixes and both upper and lower case digits. Treat the output as an estimate and verify anything critical independently.

Can I convert a colour value?

Paste the hex without the # and it converts to decimal; split into bytes for RGB.

Does it handle 64-bit values?

Up to the range JavaScript represents exactly, about 9 quadrillion.

Keep going

More math tools