Hex to Text Converter

Decode hexadecimal bytes back into readable text.

Runs in your browser Free · no account

Hex

Text

This conversion happens locally in your browser. Your files are never uploaded.

About the Hex to Text converter

Hex turns up in logs, packet captures, database dumps and error messages, and it is unreadable until decoded. Paste it in any common formatting and get the text back.

Separators are stripped automatically, so output copied from a hex editor, a debugger or source code all work without cleaning up first.

What it accepts

Spaces, commas, colons, semicolons, hyphens and newlines between bytes, `0x` prefixes on each byte, and `\x` escapes as they appear in source code.

An odd number of digits is reported rather than guessed at, because a missing digit means every byte after it would be wrong.

When it is not text

The bytes are decoded as UTF-8. If they are not valid UTF-8 you get a clear message rather than a page of replacement characters — usually that means the data is binary, or was encoded in a legacy character set.

Frequently asked questions

Does capitalisation matter?

No. Upper and lower case hex digits are both accepted, and they can be mixed.

What if the data is binary rather than text?

You will be told so. Binary data has no meaningful text representation, which is what Base64 exists for.