XML Escape / Unescape
Escape XML special characters or convert escaped sequences back to plain text.
XML reserves five characters — ampersand, less-than, greater-than, double-quote and apostrophe — that need escaping when used as data. Converterzilla's tool handles both directions: escape plain text for safe embedding, or unescape XML-encoded text back to its original form.
How to use XML Escape / Unescape in your browser
- Pick a mode. Toggle between Escape (text → XML-safe) and Unescape (XML-safe → text).
- Paste your input. Drop the text into the textarea.
- Click run. Output appears below. Use the Copy button to send it to your clipboard.
Why use Converterzilla for XML Escape / Unescape
Both directions
One tool, two modes — switch with a toggle, no separate URLs to remember.
Clipboard-friendly
One-click copy of the output.
Browser-only
Tiny, fast, no upload.
Frequently asked questions about XML Escape / Unescape
Five: & → &, < → <, > → >, " → ", ' → '. Numeric entities like are left alone.
No — XML is UTF-8 by default, so Unicode characters don't need escaping. Only the five reserved chars are converted.
Mostly yes — HTML adds and other named entities. For HTML-specific escaping, a dedicated tool is more thorough.