How to use it
- Paste the text or choose a file.
- Read the bytes in hex; tick “Spaces between bytes” for a spaced form.
- Press “Reverse the direction” to turn hex back into text.
Rules and limits
How hex is read and written
- Text becomes its UTF-8 bytes, written as two lowercase hex digits each; tick “Spaces between bytes” to separate them.
- Hex is read in upper or lower case, with or without “0x”, spaces, colons, commas or dashes between the bytes.
- A result that is not UTF-8 text stays as hex and can be downloaded as a file.
Limits
- The text box shows the first 200,000 characters; the download has everything.
Questions and answers
How do I get uppercase hex or “0x” before every byte?
The page writes lowercase pairs. Copy the result into an editor and change the case or replace the spaces with “ 0x” there.
Why does it say the hex has an odd number of digits?
Each byte needs two digits, so one is missing or extra, often a lost leading 0, such as “a” for “0a”.
Why does one letter give several bytes?
In UTF-8, letters outside English take two to four bytes: ü is c3 bc, and П is d0 9f.