Hex Decoder (Hex to Text)
Convert hexadecimal byte values back to readable text. Accepts space-separated, comma-separated, or continuous hex strings.
How to Use
- 1
Paste hex values
Enter hex bytes in any common format: space-separated (48 65 6c), colon-separated (48:65:6c), or continuous (48656c).
- 2
Click Decode from Hex
The hex bytes are interpreted as UTF-8 and converted to readable text.
- 3
Copy the result
Click Copy to copy the decoded text.
What is Hex Decoder?
A hex decoder converts hexadecimal byte values back into readable text. Each pair of hex digits (00–FF) represents one byte; the decoder takes those bytes, interprets them as UTF-8, and returns the original string. This is the inverse of hex encoding — if you have hex output from a debugger, network packet capture, or log file, the hex decoder turns it back into something you can actually read.
Hexadecimal is the standard human-readable representation of binary data. You see it everywhere: hex dumps of binary files (`xxd`, `hexdump`), MAC addresses, color codes (#FF5733), cryptographic hashes (MD5, SHA-256), TCP/IP packet captures, and assembly language. When debugging encoding issues or analyzing wire protocols, you often end up staring at a long string of hex bytes that needs to be converted back to text.
This online hex decoder accepts any common hex format. Space-separated (`48 65 6c`), colon-separated (`48:65:6c`), `0x` prefixes (`0x48 0x65 0x6c`), or continuous strings (`48656c`) all work — the tool strips non-hex characters and processes the remaining digits. Each pair becomes one UTF-8 byte. ASCII characters are one byte each; multi-byte characters (accented letters, CJK, emoji) decode correctly across two to four bytes. All processing runs in your browser; your hex data never leaves your machine.
For the reverse operation, use our [Hex Encoder](/tools/hex-encode/). Working with Base64? See [Base64 Decoder](/tools/base64-decode/). For URL percent-encoded values, try [URL Decoder](/tools/url-decode/). To understand how byte-level encodings work, read [Base64 Encoding Explained](/blog/base64-encoding-explained/).
FAQ
What formats does it accept?
What happens with an odd number of hex digits?
Can I decode hex strings with '0x' prefix or space separators?
What is the difference between hex and Base64?
How do I decode a hex dump from xxd or hexdump?
Related Articles
Related Tools
Hex Encoder (Text to Hex)
Convert text to its hexadecimal byte representation. Each byte is shown as a two-digit hex value, space-separated.
Base64 Decoder
Decode Base64 strings back to plain text online. Handles standard Base64 and UTF-8 encoded content. Free, fast, client-side.
URL Decoder
Decode percent-encoded URL strings back to readable text. Convert %20, %26, %3D and other encoded sequences to their original characters.
Unicode Unescape
Convert Unicode escape sequences (\uXXXX) back to readable characters. Supports both \uXXXX and \u{XXXXX} formats.
HTML Entity Decoder
Decode HTML entities back to their original characters. Convert <, &, " and numeric entities to readable text.
JWT Decoder
Decode and inspect JSON Web Tokens (JWT) online. View header, payload, claims, and expiration status without any server.