Decimal to Hex Converter_

Convert decimal numbers to hexadecimal. Runs entirely in your browser — nothing you paste here is uploaded or logged.

local://toolkit.codes/converters/decimal-to-hex-converter
Hexadecimal_Output
UTF-8
Ready
100% LOCAL

100% client-side — nothing you enter leaves your browser. Free, no signup, no tracking.

How to use

  1. 01Enter a decimal number — digit grouping with spaces or underscores is fine.
  2. 02The hexadecimal conversion appears instantly; this decimal to hex converter needs no convert button.
  3. 03Choose uppercase or lowercase output and an optional 0x prefix, then copy.

About this decimal to hex converter

How to convert decimal to hex by hand: divide the number by 16 repeatedly and read the remainders backwards, writing 10–15 as A–F. For example, 100 in decimal to hex is 64 (6×16 + 4), and 255 becomes FF. This conversion calculator does exactly that with exact big-integer math, so numbers far beyond what fits in a 64-bit float still convert digit-perfect.

Hexadecimal is compact shorthand for binary — one hex digit is exactly four bits — which is why memory addresses, color codes, and byte dumps all use it. Negative input is rendered with a minus sign rather than as a two’s-complement bit pattern. Runs 100% in your browser.