Hex

Text to Hex

Convert text to hexadecimal and back, with full UTF-8 support. All in the browser, no data sent.

Live·100% in your browser — no upload

  

What is Text to Hex

Text to Hex converts a text into its hexadecimal representation (the byte codes) and also does the reverse, rebuilding the text from hex. It fully supports UTF-8, so it handles accents and emoji without corrupting them.

Everything happens in the browser: the text you enter is not sent to any server.

How it works

  1. Type or paste the text (or the hex) into the box.
  2. Press Text → Hex to encode, or Hex → Text to decode.
  3. Copy the result.
  4. Spaces and the 0x prefix in hex are ignored automatically.

Frequently Asked Questions

What format is the produced hexadecimal?
Byte by byte, in pairs of digits separated by a space (e.g. 43 69 61 6f). When decoding it also accepts hex without spaces or with 0x prefixes.
Does it handle accents and emoji?
Yes. It uses UTF-8 encoding, so accented characters and emoji are converted and rebuilt correctly.
Is the data sent online?
No. The conversion happens entirely in the browser.

Related tools