Hex Encoder/Decoder
Encode UTF-8 text to hex, or decode hex back to text.
Input
Output
48656c6c6f
Was this page helpful?
Related tools
About Hex Encoder/Decoder
Convert text to hexadecimal byte values and back. Useful for inspecting how strings are encoded, debugging binary protocols, or producing hex literals.
How to use
- Paste text to encode, or a hex string to decode.
- Pick the direction (text → hex or hex → text).
- Copy the output, optionally with spaces between bytes.
Frequently asked questions
- Which encoding is used for text?
- Text is treated as UTF-8 before conversion, so multi-byte characters produce multiple hex bytes.
- Can I decode hex with spaces or 0x prefixes?
- Yes — common separators and prefixes are ignored so you can paste hex in most formats.