Text to Hex Converter
Convert text to its UTF-8 hex representation and back. Four separator styles (space, run-on, comma, 16 bytes per line), lowercase / uppercase / 0x / \x output, and decoding that ignores separators while reporting illegal characters and odd digit counts. Fully processed in your browser.
Runs in your browser
Real-time
Input
Encoded as UTF-8: ASCII is 1 byte, CJK 3 bytes, emoji 4 bytes. Decoding ignores spaces, newlines, commas, 0x and \x prefixes.
HEX output
About this tool
Convert text to its UTF-8 hex representation and back. Four separator styles (space, run-on, comma, 16 bytes per line), lowercase / uppercase / 0x / \x output, and decoding that ignores separators while reporting illegal characters and odd digit counts. Fully processed in your browser.
How to use
- Fill in the input box above, or click "Fill sample" to try it instantly
- Adjust the options as needed — results update as you type
- Click "Run" to get the result, then copy or export it in one click
Tips
- Runs entirely in your browser — your data never leaves the device
- Completely free, no registration, no usage limits
- Most tools compute in real time as you type