Hex encoder / decoder
Convert plain text to hexadecimal encoding and decode hex strings back to readable text. Runs entirely in your browser — no data sent to any server.
Input
Output
What is hexadecimal encoding?
Hexadecimal (base-16) encoding writes each byte as two digits from 0–9 and A–F. It is common in debugging, colour codes, cryptography and low-level data. Text is encoded as UTF-8 bytes, so accented letters and emoji take more than one byte each.
Example
Hi → 48 69
Limitations
- Encoded output has a space between each byte. Decoding ignores spaces, so both forms work as input.
- Decoding expects an even number of hex digits. Other characters are not reported as errors, so check the result.
- Decoding assumes UTF-8. Bytes that are not valid UTF-8 appear as replacement characters.