Hex Encode / Decode
Convert text to hexadecimal bytes and back.
About this tool
Encode UTF-8 text as hex bytes or decode a hex dump back to readable text. Useful for binary protocols, HMAC debugging, certificate dumps, and comparing raw byte sequences.
What you get
- UTF-8 bytes as hex (with optional spacing)
- Decoded text from hex input
- Byte count and uppercase/lowercase output
How to use
Paste text to encode or a hex string to decode. Spaces and 0x prefixes are ignored when decoding.
FAQ
How to convert text to hexadecimal?
Paste UTF-8 text in Encode mode and copy the byte sequence as hex, with optional spacing between bytes.
How to decode a hex string to text?
Paste hex digits in Decode mode—spaces and 0x prefixes are ignored—and copy the recovered string.
What encoding is used for hex conversion?
Text is encoded as UTF-8 bytes before hex output, matching how most modern protocols and logs represent string data.
How to read a hex dump?
Each pair of hex digits is one byte. Decode mode turns the dump back into readable text when the bytes represent UTF-8 characters.
By using this tool you agree to our Terms of Use and Privacy Policy. Results are provided as-is without warranty.