What is Hex?
Hex decoding converts a hexadecimal (Base16) string back into its original bytes or text. Every two hex digits (0–9, a–f) represent one byte, so the input length should be even. It is the reverse of hex encoding and is handy for reading hex dumps, byte values and protocol data. This tool decodes hex instantly in your browser.
Runs locally: hex decoding happens in your browser; nothing is uploaded.
How Hex works
Decoding reads the string two characters at a time:
- Each pair of hex digits is converted to one byte — for example
48→ 72 =H,69→ 105 =i. - Spaces or separators between pairs are ignored.
- The resulting bytes are read back as text (UTF-8) or kept as binary.
How to use
- Paste your Hex-encoded text into the input box.
- The decoded result appears instantly.
- Click Copy to use the decoded text.
Examples
| Input | Decoded |
|---|---|
48656c6c6f | Hello |
4869 | Hi |
41 | A |
c2a9 | © |
Options explained
- Ignore separators — Spaces, colons or dashes between byte pairs are ignored.
- Output text or binary — Decode to readable text or to raw bytes for download.
Common uses
- Reading hex dumps and byte data as text.
- Converting hex values back to characters.
- Debugging protocols and binary formats.
Frequently asked questions
Why must the length be even?
Each byte is two hex digits, so a valid hex string has an even number of characters.
Is hex decoding case-sensitive?
No. Both uppercase and lowercase hex digits are accepted.
How do I encode instead?
Use the Hex Encode tool.