Switch between Encode and Decode. Encode converts each byte of UTF-8 text to a two-digit hex pair, space-separated — a quick way to get a hex dump of any string. Decode accepts hex with or without spaces and turns it back into readable text.
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.
What is hexadecimal encoding used for?
Hex encoding represents each byte as two hexadecimal digits (00-ff), which is compact and human-readable for debugging binary data, memory dumps, color codes, hashes, and network packets.
Can I view a hex dump of text online with this tool?
Yes — switch to the Encode tab and paste any text; the output is a space-separated hex byte dump you can copy anywhere.
Does this hex converter handle Unicode and UTF-8 characters?
Yes. Encoding uses UTF-8 byte sequences, so multi-byte characters like emoji or accented letters round-trip correctly between text and hex.