XML Unescape
Decode XML entities back to their original characters. It runs entirely on your device — nothing is uploaded.
Reviewed by the CalcCafe editorial team · Last updated 1 July 2026 · How we test our tools
Example
a < b & c
a < b & c
How it works
Entities such as <, > and & are converted back to <, > and &.
Good to know
XML Unescape takes text containing XML character entities and converts them back into the literal characters they represent, so < becomes <, > becomes >, & becomes &, and the quote entities " and ' become " and '. It's aimed at developers, integrators, and support staff who pull data out of XML documents, SOAP responses, RSS feeds, or config files and need to recover the human-readable original text. Everything happens in your browser, which makes it safe for pasting snippets from internal systems.
You'll typically reach for this when a value looks "double-encoded" or full of ampersand sequences — for example, a log entry, an API payload, or a CDATA-adjacent field that shows <tag> instead of the markup you expected. Unescaping reveals what the data actually contains so you can read it, copy it into another document, or debug why an entity ended up in the stream in the first place.
When reading the result, remember that unescaping only reverses the five standard predefined XML entities plus numeric character references (such as © or —); it does not parse or validate the surrounding markup. The output is plain text, so if the original was a fragment of XML it will once again contain raw angle brackets and may no longer be safe to drop directly into an HTML page or another XML document without re-escaping.
- Unescape once per layer of encoding — if a string was escaped twice, run it through again to fully decode it.
One practical caveat: this is the inverse of XML escaping, not HTML decoding. Named HTML entities like or © are not part of the XML standard, so a strict XML unescaper may leave them untouched. If you need those, decode the numeric form or use an HTML-specific tool, and use the companion XML Escape tool when you need to go the other direction.
Frequently asked questions
Is my data uploaded anywhere?
Is this tool free?
People also ask
What is the difference between XML unescape and XML escape?
What are the five predefined XML entities?
Does this tool decode numeric character references like ©?
Why does my text still show or © after unescaping?
Is it safe to paste XML output back into a webpage after unescaping?
What does double-escaped XML mean and how do I fix it?
Can I unescape an entire XML file at once?
Related tools
Sources & references
These tools follow our methodology and provide educational estimates only — verify important figures with a qualified professional.