Hex ↔ Text Converter

Convert text to UTF-8 hexadecimal bytes and back — compact, spaced, or with 0x / \x prefixes.

Convert text to UTF-8 hexadecimal bytes and back — compact, space-separated, 0x-prefixed or \x-escaped formats. Paste hex from debuggers, packet captures or code and read the text instantly.

How to use the Hex to Text Converter

  1. Type text (or paste hex) into the input.
  2. Choose the direction and hex format.
  3. Copy the result — invalid hex is reported clearly.

Frequently asked questions

How do I convert hex to text?

Paste the hex string and click Hex → Text. Compact (48656c6c6f), spaced, 0x-prefixed and \x-escaped formats are all accepted.

How do I convert text to hex?

Type the text and click Text → Hex — each character becomes its UTF-8 byte value in hexadecimal.

What does 48 65 6c 6c 6f mean?

It's 'Hello' — 0x48 is 'H', 0x65 is 'e', and so on, per ASCII/UTF-8 encoding.

Does it handle emoji and non-ASCII text?

Yes — conversion uses UTF-8, so emoji and other scripts become their multi-byte hex sequences.