Skip to content

Hex to Text Converter

Paste hex bytes from a dump, a log or a source file and read the text they spell.

Processed locally in your browser

Options
Accepts spaces, commas, colons, 0x and \x prefixes.0 chars · 0 lines
The result will appear here.

What is Hex to Text Converter?

A hex string lists bytes as two-digit values. Turning it back into text means reading each pair as a byte, then decoding the byte sequence as UTF-8 so accents and emoji come out right.

The converter is tolerant about layout: "48 65 6c", "4865 6c", "0x48,0x65", "\x48\x65" and "48:65:6c" all work, in upper or lower case. It refuses odd digit counts and stray characters with a message that names the problem, and it warns when the bytes are not valid UTF-8 text.

How does it work?

  1. Paste your hexadecimal bytes; separators and prefixes are removed automatically.
  2. Keep UTF-8 for modern text, or switch to ISO-8859-1 for legacy Latin-1 data.
  3. Read the decoded text or use Swap to convert text back into hex.

Common use cases

  • Reading a string embedded as a byte array in source code or a firmware image.
  • Decoding hex payloads copied from a packet capture or debugger view.
  • Turning a \x-escaped literal from a log into readable text.
  • Checking that two hex dumps really contain the same message.

Examples

Try this input in the tool above:

Input
48 c3 a9 6c 6c 6f 20 f0 9f 98 80
Output
Héllo 😀

Privacy

Hex to Text Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Hex data is often not text at all (images, compressed data, keys). Such bytes show as replacement characters with a warning.

Frequently asked questions

Why do I get an "odd number of digits" error?

Every byte needs two hex digits. A leading zero may have been dropped ("9" should be "09"), or the string was truncated.

Can I paste "0x48 0x65 0x6c"?

Yes. 0x and \x prefixes, commas, colons, semicolons, dashes and line breaks are all accepted.

The result shows � symbols. What happened?

The bytes are not valid UTF-8, so they are probably binary data or a different text encoding. Try ISO-8859-1.

More tools in Encoding & Decoding →