Skip to content
Jellykit

Hex to Text Converter

Paste hex bytes from a log, packet capture or source file and read them as UTF-8 text, with broken bytes flagged.

  • Runs on your device
Loading tool

About Hex to Text Converter

Hex dumps turn up everywhere: in network captures, database exports, escaped strings in source code and error messages. Paste the bytes here and read the text they hold. Spaces, commas, colons, new lines and prefixes such as 0x, \x or % are skipped over, and a solid run like 48656c6c6f is split into byte pairs for you.

The bytes are decoded as UTF-8, so accented letters, other scripts and emoji come out right. Where the bytes are not valid UTF-8, each broken sequence shows as � and a note gives the position of the first one.

How it works

  1. Your text is encoded as UTF-8, the encoding used by the web and most files, so plain English letters take one byte and other characters take two to four.
  2. Each byte is written in the base you choose, padded to a fixed width (two hex digits, eight binary digits, three octal digits) so the output can be read back even without separators.
  3. With "One number per: Character" each character becomes its Unicode code point instead, so an emoji is one number rather than four bytes.
  4. Reading numbers back, the tool ignores separators and common prefixes, checks every value, and decodes the bytes as UTF-8, reporting where any invalid sequence starts.

Questions

Does it matter how the hex is spaced or prefixed?

No. 48 65 6c, 48:65:6c, 0x48,0x65,0x6c, \x48\x65\x6c and 48656c all read the same. Only an odd number of digits run together is refused, because the last byte would be incomplete.

Why do I see � in the result?

Those bytes do not form valid UTF-8, often because the data is binary, uses another encoding such as Windows-1252, or was cut off in the middle of a character. The note under the result says where the first bad byte is.

Can I read hex code points such as 1F600 instead of bytes?

Yes. Set "One number per" to Character and each number is read as a Unicode code point rather than a UTF-8 byte.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.