ToolMill.io

Hex Encode / Decode — Text ↔ Hex

Hex Encode / Decode converts text into hexadecimal (base-16) bytes and decodes hex back into readable text. Use it for debugging binary payloads, inspecting UTF-8 bytes, reversing escaped strings, and working with hashes or low-level protocols. Accepts common hex formats (with or without spaces, newlines, or 0x prefixes). Runs 100% locally in your browser — no uploads — and works offline after installing ToolMill as a PWA.

Encoding

Try it

Examples

Encode text to hex
Input
Hello, ToolMill!
Output
48656c6c6f2c20546f6f6c4d696c6c21
Decode hex to text
Input
54686973206973206120686578206465636f646520746573742e
Output
This is a hex decode test.

Related tools