Text to hex converter
Convert text to hexadecimal UTF-8 bytes, or decode hex back into text.
Missing a feature or found a bug in Text to hex converter? Tell me on X (@_andrewtran) or by email.
How to use Text to hex converter
- Choose Encode or Decode.
- Paste your text or hex in the input pane.
- Copy the result from the output pane.
Questions and answers
Is my data sent anywhere?
No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.
Which hex formats can be decoded?
Bytes with or without spaces, with commas or colons between them, and with 0x or \x in front of each byte.
How are accents and emoji written?
As UTF-8, so one character can take two to four bytes. Decoding puts them back together.
Related tools
Text to binary converter
Convert text to 8-bit binary, or decode binary back into text.Text to octal converter
Convert text to octal byte values, or decode octal values back into text.Text to ASCII codes
Convert characters to their decimal byte values, or turn a list of codes back into text.Unicode escape converter
Convert text to \u escapes or U+ code points and back again.