What Does an HTML Unescape Tool Actually Decode?
HTML unescape decodes five entities only: <, >, &, " and '. Paste the text, press Run tool, and those five turn back into <, >, &, a quote mark and an apostrophe, inside your browser. Anything outside that list comes back unchanged, which is why a stubborn usually is not a bug.
Which entities does it decode, and which does it skip?
Five, and they are matched as written. Case matters, so & survives untouched while & does not. The semicolon is required too: & with no semicolon stays as it is.
The gaps are the part people trip over. " is not in the list even though it means the same quote character as ". Neither is ', ' or . If your text is still full of ampersands after a run, check whether the entities are on this short list before assuming the tool failed.
Why is my text still escaped after one run?
Because it makes one pass, left to right, without looking back. I tested a snippet that had been escaped twice, &lt;, and the first run returned < rather than a bracket. Running the same text a second time finished the job.
That behaviour is deliberate and it is also the useful one. A pasted code sample that contains a literal < keeps it after one pass, so you can decode a page of explanation without destroying the examples inside it. When you genuinely want every layer gone, count how many times the ampersand is repeated and run it that many times.
How much text can it take, and where does it run?
The HTML unescape tool on ToolPug caps input at 2 MB, which it enforces as 2,000,000 characters. Files load too, from a list of 12 extensions including .html, .txt, .json, .xml and .md. Everything is processed on your device, so nothing is uploaded and no account is needed.
There are no settings at all, no checkbox for stripping tags or normalising quotes, because it is not a sanitiser. It does not parse markup, does not validate HTML, and does not render anything. Save file writes html-unescape.txt as plain text, so rename it if you need an .html extension.
Features and parameters reflect the tool page at toolpug.com as of November 2026.
What Does an HTML Unescape Tool Actually Decode? Read More »
