Skip to content
Tezmy Tools

Hex to Decimal Converter

Convert hexadecimal numbers to decimal, one per line, with no size limit

4 numbers converted.

Runs in your browser. Nothing is uploaded.

About the Hex to Decimal Converter

A hexadecimal value such as 1A3F is compact for a machine, but harder for a person to compare or calculate with. This converter shows its decimal value. Paste one hex number per line, with or without a 0x prefix or a trailing h, and the decimal numbers appear on the right. Capital and small letters both work. Very large values are converted exactly, because the tool uses whole-number arithmetic with no size limit, so a 64-bit or 256-bit value is safe. Lines that are not valid hex are flagged. Everything is done in your browser.

Updated October 2026

How to use the Hex to Decimal Converter

  1. 1Type or paste your hexadecimal numbers, one per line.
  2. 2A 0x prefix, an h at the end, spaces and underscores are accepted.
  3. 3Read the decimal values on the right.
  4. 4Check the note for any lines that could not be read.
  5. 5Copy the result or download it.

Why convert hex to decimal

Logs and tools show IDs, sizes and error codes in hex, and you often need the decimal number to compare it with another figure, to put it in a spreadsheet or to understand how big it is. Colour channels, ports, offsets and counters are common examples.

Pasting a whole column avoids converting the numbers one at a time.

    Examples

    Hex 7FFFFFFF is 2147483647, the largest signed 32-bit integer. Hex 1A3F is 6719. Hex 100 is 256 and hex 1000 is 4096. Each extra hex digit multiplies the range by 16.

    • FF → 255
    • 1A3F → 6719
    • 0x7FFFFFFF → 2147483647
    • DEADBEEF → 3735928559

    Related conversions

    To go back, use the Decimal to Hex Converter. For octal, use the Hex to Octal Converter. If your hex represents text instead of a number, use the Hex to ASCII Converter.

      Using it on phone and computer

      Paste hexadecimal numbers, one per line, into the left box and the result appears straight away, so there is no button to press. On a phone, long-press the box to paste and use the Copy button to move the result to another app. On a computer you can also download it as a text file. Developers use it to read register values, offsets and identifiers from logs.

        Accuracy and limits

        As a check, 10 in hex is 16 and 100 in hex is 256. The tool works with exact whole-number arithmetic rather than floating point, so long values are not rounded. Anything it cannot read is shown with a warning that names the line, and the rest of your list is still converted. Nothing you paste is uploaded or stored, and closing the tab removes it.

          Features

          • Many numbers at once
          • Accepts 0x prefix and trailing h
          • Capital or small letters
          • Exact for very large numbers
          • Negative numbers supported
          • Bad lines flagged, not dropped

          Frequently asked questions

          How do I convert hex to decimal?

          Multiply each digit by 16 to the power of its position, counting from the right, and add the results. For 1A3F that is 1 times 4096, plus 10 times 256, plus 3 times 16, plus 15, which is 6719.

          What is FF in decimal?

          255. It is the largest value of a single byte. 0xFF, FF and FFh all mean the same.

          What is DEADBEEF in decimal?

          3735928559. It is a well-known hex word used as a placeholder in programming. The tool converts it exactly like any other number.

          Can it convert very large hex numbers?

          Yes. There is no limit on the length, and results are exact, which matters for hashes, keys and 64-bit identifiers that a calculator would round.

          Does it treat hex as signed?

          No. A value like FFFFFFFF is read as 4294967295. If you need its signed 32-bit meaning, which is -1, subtract 4294967296. A leading minus sign in the input gives a negative result.

          Is my data uploaded?

          No. The numbers are converted in your browser and do not leave your device.

          Related tools