Nifty / Tools / Encode & decode

Text to Hex

See the UTF-8 bytes of any text as hex. Choose what goes between the bytes.

text-to-hex
TextDrop a file here
Hex
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the Text to Hex

  1. Type or paste text on the left.
  2. Pick a separator and whether you want uppercase digits.
  3. Copy the hex.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Why does é take two bytes?

Text is encoded as UTF-8, where characters outside plain ASCII take two to four bytes. é is c3 a9 and most emoji take four.

Related tools