Loona Automation logoLoona Developer Tools
Home › Encoders & Decoders

Hex to Text Converter

In short: paste hexadecimal bytes — spaced, continuous, or mixed with 0x prefixes — and get the text back, interpreted as UTF-8.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

48 65 6c 6c 6f

Output:

Hello

About this converter

This decoder groups the hex into byte pairs, builds the byte sequence, and reads it as UTF-8 — the inverse of the text-to-hex direction. It is forgiving about formatting because real-world hex arrives messy: space-separated from hex editors, continuous from logs, 0x-prefixed from code. Failures are informative: an odd number of digits means a truncated dump, and bytes that form invalid UTF-8 usually mean the original text was in a legacy encoding (Latin-1 and Windows-1252 are the common ones in old data) or that the hex represents genuinely binary content like an image, which no text decoder can display.

Frequently Asked Questions

Can I decode hex that has 0x prefixes?

Yes — 0x prefixes, spaces, commas and line breaks are all stripped before decoding.

The result is gibberish — why?

The bytes are probably not UTF-8 text: either a different character encoding or binary data. Check the first bytes against known file signatures (89 50 4E 47 is a PNG).

Why must the hex length be even?

Each byte is exactly two hex digits; an odd count means a digit is missing somewhere.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.