AZ Tools

Text to Hex Converter (and back)

Convert

Paste text to get its UTF-8 bytes as hexadecimal, or paste hex to decode it back to text. Choose the separator (space, none, colon or \x), and upper or lower case. Decoding ignores spaces, colons and 0x or \x prefixes, so you can paste hex in almost any style. Everything runs locally in your browser — nothing is uploaded.

Output

How to use

  1. Choose the direction: text to hex, or hex to text.
  2. For text to hex, pick the byte separator and letter case.
  3. Paste your input and copy the converted result.

Frequently asked questions

How are non-ASCII characters handled?
Text is encoded as UTF-8 first, so accented letters, emoji and CJK characters become their multi-byte hex sequences and decode back exactly.
What hex formats can I decode?
Any. Spaces, colons, newlines and 0x or \x prefixes are stripped, then the remaining hex digits are read two at a time. An odd number of digits is reported as an error.
What does the separator option do?
It sets how bytes are joined when encoding: a space (48 65), nothing (4865), a colon (48:65) or a \x prefix (\x48\x65). Decoding accepts all of these.
Is my text sent anywhere?
No. The conversion happens entirely in your browser; nothing is uploaded.

Related tools