Cleaning up scraped text
Content pulled from page source often carries entities. Decoding restores the readable characters in one step.
Decode HTML entities back into plain text in your browser, including numeric and named forms.
Maintained by Roshan.
Converts escaped html to text in this tab, with nothing sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsHTML entities are how a web page smuggles special characters safely into its markup, and decoding them turns that page-safe form back into the plain text a person or a program actually wants. You meet encoded entities constantly: copied out of page source, extracted from a scraped document, returned by an API that escaped its output, or sitting in a data export where an ampersand has become the five characters that spell it out. Reading that by eye is tedious and error-prone. This decoder handles the three forms entities take - named ones like the ampersand and less-than, decimal numeric references, and hexadecimal numeric references - and turns each back into the single character it represents, so the text reads normally again.
Content pulled from page source often carries entities. Decoding restores the readable characters in one step.
Some APIs escape their text output. Decode it to see the real values rather than the entity spellings.
Named entities like & and <, decimal numeric references like ', and hexadecimal ones like '.
No. It only converts entities. Tags stay as text; stripping them is a different job.
Yes. If there are no entities, nothing changes.
It may be a rare named entity or malformed - for instance missing its closing semicolon. Numeric references are the most reliable.
Encode text as HTML entities in your browser so it displays as text instead of being interpreted as markup.
Convert Unicode escape sequences back into readable characters in your browser.
Percent-encode and decode URLs in your browser, choosing between encoding a value inside a URL and encoding a whole address. Shows which characters differ.