Hex Encoder/Decoder
Encode text to a hex byte string, or decode hex back to text.
Output
Result appears here.
How it works
Text is converted to UTF-8 bytes and each byte is written as two lowercase hex digits, or hex is decoded back to UTF-8 text — all in your browser. Decode accepts hex with or without spaces between byte pairs.
Example
Encode
Hi!486921FAQ
- Is my text uploaded anywhere?
- No. Encoding and decoding happen entirely in your browser — nothing you paste ever leaves your machine.
- Does this work with non-English text and emoji?
- Yes — text is encoded as UTF-8 bytes first, so accented characters and emoji round-trip correctly.
- What happens with invalid hex input on decode?
- You get a clear error instead of silently garbled output — hex must have an even number of valid hex digits.