Guide: Text to hex and hex to text
When to use it
To see a text’s bytes, debug protocols or files, or read hex strings like 48 6f 6c 61.
Tips
- Each byte is two digits: accents and emoji take more than one byte because they are encoded in UTF-8.
- When decoding, spaces, commas, colons and 0x or \x prefixes are ignored.
- If the result is not valid text, you can download it as a binary file.
Frequently asked questions
Why does ñ give two bytes (c3 b1)?
Because in UTF-8 characters outside ASCII use more than one byte.