← All Tools

HEX Converter🔒 100% local

Decimal to hex conversion. Privacy-first, no server uploads, no tracking.

Related Tools

Base ConverterByte Storage ConverterCamel Snake Converter

Converts between decimal, hexadecimal bytes and text using a single input box. The direction is inferred from what you paste: an even-length run of hex digits containing at least one of the letters a-f is read as hex bytes and decoded to text, digits alone are read as a decimal number, and anything else is treated as text and encoded to hex. All three branches execute in the page.

How to use it

  1. Paste a decimal number, a hex byte string such as 48656C6C6F, or ordinary text.
  2. Press Process.
  3. Copy the line you need. Each result also carries the other representations alongside it.

Worked example

255becomesDec: 255 Hex: FF Binary: 11111111 Bytes: 1 bytes

255 has no a-f letter in it, so it is read as decimal rather than as the hex byte 0xFF. The wording on the last line is the tool's own.

48656C6C6FbecomesHex: 48656C6C6F Text: Hello Dec: 310939249775 Binary: 01001000 01100101 01101100 01101100 01101111

Even length plus letters, so this takes the hex-to-text branch. The Dec line is what the whole string parses to as one number.

When to use it

What it does not do