Decimal to Hex Converter

The Decimal to Hex Converter takes any integer — positive, negative, or BigInt-large — and gives back the hexadecimal form. Three variants come out at once: bare lowercase ('ff'), prefixed ('0xff'), and uppercase ('FF'), so you can copy whichever the next tool wants. JavaScript's built-in Number type loses precision above 2^53; this converter uses BigInt internally and stays exact.

Built by Bob QA by Ben Shipped

How to use

  1. 1

    Type or paste the decimal value. Negatives and very large integers welcome.

  2. 2

    Read off all three hex variants — pick the one your downstream tool expects.

  3. 3

    Need the reverse? Use the Hex to Decimal Converter sister page.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to rate and review this tool.

Loading reviews…