Hex Encoder/Decoder
Encode UTF-8 text to hex, or decode hex back to text.
Input
Output
48656c6c6f
Related tools
Hex CalculatorMath
Hex arithmetic with results in hex, decimal, and binary.
Text to BinaryEncoding
Convert text to binary representation (8-bit per character) and back.
Base64 Encoder/DecoderEncoding
Encode and decode Base64 strings quickly.
Base32 Encoder/DecoderEncoding
Encode and decode Base32 (RFC 4648) locally in your browser.
Base58 Encoder/DecoderEncoding
Encode and decode Base58 locally in your browser.
Base85 (Ascii85) Encoder/DecoderEncoding
Encode and decode Base85 (Ascii85) text locally in your browser.
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.