XML Escape / Unescape
The XML Escape tool converts & < > " ’ into XML-safe entities and decodes those entities back into plain characters.
- No length limits
- No registration
- Free forever
- Your text never leaves your browser
How to escape text for xml and xhtml
Choose the mode
Pick “escape text for XML and XHTML” or the reverse mode from the options — both run in the same box.
Paste your input
The result appears immediately, before you even finish pasting.
Copy the result
One click puts the output on your clipboard.
Use it
RSS and sitemap generation, SOAP payloads and SVG files
Why use this xml escape / unescape?
Typical uses: • Escaping user text inside generated XML feeds • Fixing SVG text elements that break renderers • Cleaning entities out of exported XML data
Because the conversion is deterministic and local, results are identical every time and nothing leaks to third parties.
Both directions live on one page, so you never have to bookmark two tools for one job.
XML Escape / Unescape — details
| Directions | Escape text for XML and XHTML and unescape XML entities back to plain text |
|---|---|
| Processing | 100% in your browser — offline after load |
| Length limit | None |
| Price | Free, no account needed |
Your text never leaves your browser
Every tool runs locally on your device. Nothing you paste is uploaded, stored, or tracked.
Frequently asked questions
Can it unescape xml entities back to plain text too?
Yes — switch the mode option and the same box converts in the other direction.
Is there a size limit?
No hard limit. Very long inputs simply take a few more milliseconds.
Does it work offline?
Yes. Once the page has loaded, the conversion runs without any connection.