Contact

Tools  /  Encoding  /  Hex Decoder

Hex Decoder

Decode hexadecimal bytes back to text.

What this tool does

Hexadecimal bytes pasted on the left decode back to their original text on the right, live, reading each hex pair as one UTF-8 byte and reassembling the original characters from them.

Formatting in the pasted hex doesn't have to be exact

Anything that is not a hex digit — spaces, a 0x prefix, line breaks — is stripped automatically before decoding, so hex copied from a different tool or a piece of documentation still decodes correctly without cleaning it up by hand first.

What happens with invalid input

Hex bytes always come in pairs, so an odd number of hex digits after the non-hex characters are removed cannot represent a whole number of bytes — that specific case is reported clearly rather than silently guessing at the missing digit.

Privacy

Decoding happens in your browser. Nothing you paste is sent to a server.

Frequently asked questions

Is my data uploaded anywhere?
No. Decoding happens locally in the browser — nothing is sent to a server.
Does the hex need to be formatted a specific way?
No -- spaces, 0x prefixes, and line breaks are all stripped automatically before decoding, so hex copied from another tool or from documentation decodes correctly without manual cleanup.
Why does decoding fail sometimes?
Hex bytes come in pairs of digits. If the number of hex digits left after removing spaces, prefixes, and other non-hex characters is odd, it cannot represent a whole number of bytes, and decoding is refused rather than guessing.
Will accented letters or emoji decode back correctly?
Yes -- the hex bytes are read back as real UTF-8, so text that originally contained multi-byte characters comes back exactly as it was.
Can this decode hex representing binary data like an image?
The result here is interpreted as text, so hex representing an image or another binary file will not produce a readable result -- it needs a tool that decodes straight to a downloadable file instead of text.
Theme Accent