Text ↔ Hex Converter
Convert text to hexadecimal and hex back to text right in your browser. Full UTF-8 support means every character encodes correctly — choose lowercase or uppercase, and space-separated or continuous bytes.
Case
Separator
Enter data above to see the converted result here.
How to use Text to Hex Converter
- 1
Choose a direction
Use the toggle to pick Text to Hex or Hex to Text. The swap button moves your result into the input so you can convert it back the other way.
- 2
Enter your data
Type or paste text, or paste a string of hex. The conversion runs automatically as you type, with full UTF-8 support for any character.
- 3
Pick the format
For hex output, choose lowercase or uppercase digits and a space between each byte or a continuous stream. When decoding, spaces, commas, and colons are all optional.
- 4
Copy the result
Review the converted output and copy it to your clipboard, ready to paste wherever you need it.
Frequently asked questions
How is text converted to hexadecimal?
Does this support emoji and non-English text?
What hex formats does the decoder accept?
Why did I get a conversion error?
Is my data uploaded to a server?
Related tools
Keep going with these handy tools