Switch between Encode and Decode. Encode converts each byte of UTF-8 text to a two-digit hex pair, space-separated. Decode accepts hex with or without spaces.
All tools/Encoding
Hex Encoder & Decoder
Convert text to and from hexadecimal. Runs entirely in your browser.
Output
How this works & FAQ
Why is my decoded text garbled?
Make sure the hex has an even number of digits and represents valid UTF-8 bytes — odd-length or malformed hex will fail to decode.