Decimal to Hexadecimal Converter

Convert base-10 numbers to hex with prefix and case options.

—
Binary
—
Octal

Hex is position-16 notation using 0–9 then A–F: FF = 15·16 + 15 = 255. Each hex digit is exactly 4 bits.

How to use the Decimal to Hexadecimal tool

  1. Enter your decimal to hex in the fields above.
  2. Adjust any slider or type an exact number — the answer updates as you go.
  3. Copy the result and close the tab. Nothing you entered was sent anywhere.

About the Decimal to Hexadecimal tool

Enter a decimal number to get its hexadecimal form, with your choice of 0x-prefixed lowercase, uppercase digits, or a bare value for raw byte streams. Binary and octal appear alongside.

Each hex digit is exactly 4 bits, which is why hex dominates color codes, memory addresses and byte dumps.

Everything runs locally in your browser: no data is uploaded, no account is needed, and it works offline once the page has loaded.

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview