Hex to Text

Convert hexadecimal bytes back into readable text

Decode hex bytes to text. Spaces, colons, commas and 0x, \x or % prefixes are ignored, so you can paste hex from code, logs, hex editors or URLs.
Try an example:

Output will appear here...

About Hex to Text

How it works

  1. Separators and prefixes (spaces, colons, commas, 0x, \x, %) are removed, leaving only hex digits.
  2. Each pair of digits becomes one byte: 48 = 72.
  3. The bytes are decoded as UTF-8 text. If they are not valid UTF-8, they are read as Latin-1 (one character per byte) and you are told, because the hex is probably binary data or in an older encoding.

What you need

  • Hex digits (0-9, A-F) with two digits per byte, for example 48 65 6C 6C 6F.

Tips

  • An error about two digits per byte means a digit is missing or extra somewhere.
  • Hex dumps from tools like xxd include offsets and an ASCII column - paste only the hex bytes.

Limitations

  • Binary files (images, executables) are not text, so their hex decodes to unreadable characters.

Runs in your browser. Everything happens in your browser - the text you enter is never uploaded.

Frequently asked questions

How do I convert hex to text?+

Split the hex into pairs of digits, convert each pair to a byte value, and read the bytes as text (UTF-8). Paste the hex here and the text appears instantly.

What does "read as Latin-1" mean?+

The bytes do not form valid UTF-8, so each byte was shown as one Latin-1 character instead. If the result looks wrong, the hex is probably not text.

Can I paste hex with spaces or colons?+

Yes. Spaces, colons, commas, line breaks and 0x, \x or % prefixes are all ignored.