Hex to Text

Convert between text and hexadecimal

About Hex to Text

Hex to Text converts between plain text and hexadecimal character codes entirely in your browser using JavaScript's built-in character-code functions — nothing is uploaded to a server. It reliably round-trips Latin1 text (character codes 0-255); characters outside that range (emoji, most non-Latin scripts) produce hex codes wider than the standard 2-digit pairs, which won't convert back correctly since the reverse direction always splits the hex into fixed 2-character chunks.

How to use Hex to Text

  1. 1Paste or type text or hex into the input box.
  2. 2Click 'Text to Hex' to convert text into space-free hex character codes, or 'Hex to Text' to convert hex back into text.
  3. 3Read the result in the output box.
  4. 4Click 'Copy' to copy it to your clipboard.

Frequently Asked Questions

Is Hex to Text free to use?

Yes, it's completely free with no signup required.

What hex format does it expect?

Two-character hex pairs, with or without spaces between them (e.g. 48656c6c6f or 48 65 6c 6c 6f). Both uppercase and lowercase are accepted.

Does it work with any Unicode text, like emoji?

Not reliably — it works cleanly for Latin1 text (character codes 0-255). Characters outside that range produce hex wider than 2 digits, which the hex-to-text direction can't correctly reconstruct since it always reads fixed 2-character chunks.

Is my data uploaded to a server?

No, conversion happens entirely in your browser.

Tips & Tricks

  • Stick to Latin1 text (standard Latin letters, digits, and common punctuation) for reliable round-trip conversion.
  • If Hex to Text shows 'Invalid hex', check for an odd number of hex digits or stray non-hex characters in your input.
  • For text with accented or non-Latin characters, expect the hex output to not cleanly convert back — that's a limitation of this simple character-code approach.
  • Copy your result right away, since it isn't saved after you leave the page.