Free Hex Decoder
Got a hex dump and need the message? The Hex Decoder converts hexadecimal back to readable text, tolerating real-world formatting — spaces, colons, dashes, and 0x prefixes are all ignored. Strict validation catches odd-length or invalid input with clear errors instead of silent garbage.
Spaces, colons, dashes and 0x prefixes are ignored.
How to Use the Hex Decoder
- Paste your hex string.
- The decoded text appears live.
- Invalid hex shows a clear error.
- Click Copy to use the result.
Features
Live decoding; format-tolerant input; strict hex validation; UTF-8 decoding with error reporting; copy button.
Benefits & Use Cases
Decode hex-encoded API fields, inspect packet captures, reverse hex dumps from logs, or verify what a hex string actually contains.
Tips
If decoding succeeds but the text looks wrong, the bytes may use a different encoding (like Latin-1) rather than UTF-8 — the tool will tell you when bytes aren't valid UTF-8.
Frequently Asked Questions
Why "invalid hex" for my input?
Hex needs an even number of digits from 0–9/A–F. An odd digit count or stray characters (after ignoring separators) triggers the error — check for a missing leading zero.
Do I need to remove spaces first?
No. Spaces, colons, dashes, newlines and 0x prefixes are stripped automatically, so you can paste hexdumps directly.
What does "not valid UTF-8" mean?
The hex decoded to bytes fine, but those bytes do not form valid UTF-8 text — the original data was probably binary or another encoding.
Can it decode an entire hexdump?
Yes, as long as it is contiguous hex. Address columns and ASCII sidebars from tools like xxd should be removed first.
Related Tools
Hex Encoder
Convert text to hexadecimal free with NToolHub. Unicode-safe with uppercase, separator and 0x-prefix options — 100% in your browser, nothing uploaded.
Open tool →Base64 Decoder
Decode Base64 to text free with NToolHub. Handles standard and URL-safe Base64 with full Unicode support — 100% in your browser, nothing uploaded.
Open tool →URL Decoder
Decode percent-encoded URLs free with NToolHub. Restore readable text from %20-style encoding instantly — 100% in your browser, nothing uploaded.
Open tool →HTML Decoder
Decode HTML entities to plain text free with NToolHub. Convert & and ' back to characters instantly — 100% in your browser, nothing uploaded.
Open tool →Checksum Generator
Create MD5, SHA-1, SHA-256 or SHA-512 checksums free with NToolHub. Hash text or files locally to verify integrity — nothing is uploaded.
Open tool →