Skip to content
  • No data uploaded
  • Instant results

Decimal to Hexadecimal Converter

Enter a decimal number to convert it to hexadecimal immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.

Decimal to Hexadecimal Converter

one number per line
Hexadecimal result
D6
Hexadecimal → Decimal

Free Decimal to Hexadecimal Converter by pGento

How to convert decimal to hexadecimal

Decimal (base 10) is the everyday number system, using digits 0–9. Hexadecimal (base 16) uses 0–9 and A–F; each hex digit maps to exactly four bits, so one byte is always two hex digits (00–FF).

Worked example converting 214:

  1. Repeatedly divide 214 by 16 and read the remainders bottom-up to get D6.
  2. Result: 214 (decimal) = D6 (hexadecimal).

Accepted input formats

  • Optional prefixes: 0b (binary), 0o (octal), 0x (hex).
  • Spaces, commas and underscores are ignored, so 1101_0110 works.
  • A leading minus sign converts negative values (sign-magnitude, not two's complement).
  • Hexadecimal is case-insensitive; output is upper-case.

Decimal to Hexadecimal reference table

DecimalHexadecimal
00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F
1610
3220
6440
10064
12880
255FF
256100
1024400
40961000
65535FFFF

Frequently asked questions

What is 214 in hexadecimal?
214 in decimal equals D6 in hexadecimal.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.
Decimal to Hexadecimal Converter

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.