This hex to UTF-8 converter turns a hex string into readable text in the browser, and the useful part is how little it cares about formatting: spaced bytes, one byte per line, or an awkwardly indented dump all decode the same. It caps input at 2,000,000 characters, has no options to set, and never uploads the text.
What breaks a paste that looks like valid hex?
The decoder strips every whitespace character first, then requires what is left to be pairs of hex digits. A misplaced space is harmless: 4 8656c6c6f still returns Hello, and uppercase 48656C6C6F behaves exactly like lowercase. What it rejects is anything sitting between the bytes. A 0x or \x prefix, or the offset column and colon from a hexdump, all end in “Invalid input”. An odd digit count fails the same way, because there is no padding step.
Whitespace is free; prefixes and offsets are not. If a decode fails, delete the addresses and the colon before changing anything else.
Why does it refuse some bytes instead of printing junk?
It decodes with a strict UTF-8 decoder, so bytes that are not valid UTF-8 stop the run with “The encoded data was not valid for encoding utf-8” instead of showing replacement characters. ff fails, and so does Windows-1252 text such as e8, which plenty of older CSV exports still contain. That turns the error into a quick answer to “is this blob actually text?”, and a dead end if what you need is Latin-1 or GBK. A leading BOM disappears silently: efbbbf48 comes back as H.
Load the file, and keep one blob per run
Load file accepts .txt .json .csv .tsv .xml .html .css .js .sql .md .yaml .yml up to 2 MB, processed on your device just like the textarea. Newlines get stripped along with the other whitespace, so two unrelated values pasted together decode as one continuous string — keep one blob per run when the output matters. The result saves as hex-text.txt. I tested my own inputs against this decoder before writing, and the error messages above are what it actually returns.
Where it stops: hex to text only. No padding for odd-length strings, no text-to-hex direction, no charset choice. It is a narrow converter, and a fast one when you need to read a hex payload as plain text without opening a terminal.
Behaviour and limits reflect the toolpug.com Hex to UTF-8 page as of November 2026.