Decode XML entities back to text. Strict mode accepts only the five predefined XML names plus numeric references, so HTML-only names are correctly reported as undeclared.
Show calculation steps
Processed privately in your browser — nothing you paste is uploaded, logged or stored.
How to use the XML Entity Decoder
- Paste the XML text containing entities.
- Keep strict mode on to accept only the five XML-predefined names plus numeric references.
- Turn on the lenient option if the document mixes in HTML-style names.
- Click "Decode XML entities".
Frequently asked questions
Why is reported as unknown?
Because it is an HTML entity, not an XML one. In XML it must be declared in a DTD or written numerically as . Encountering it usually means the content is really HTML, or was produced by a tool that assumed HTML rules.
What is the lenient option for?
Real-world feeds – RSS in particular – frequently contain HTML entity names despite being XML. Lenient mode decodes them so you can read the content, while strict mode shows you exactly which names a conforming XML parser would reject.