XML Escape Unescape
Escape XML-sensitive characters, decode XML entities, inspect entity usage, and prepare safer XML text for feeds, APIs, SVG, SOAP, and sitemap snippets.
Paste XML content, RSS text, SVG fragments, SOAP payload values, sitemap text, or already escaped XML entities.
Conversion Settings
Options
These checks help catch common XML text issues without trying to validate a full XML document or schema.
Escaping XML Text for Feeds, APIs, and Markup
XML uses a few characters as markup. A plain ampersand, less-than sign, quote, or apostrophe can change how a document is parsed when it appears inside text or attributes. Escaping turns those characters into safe entity references such as &, <, and ".
This tool is built for quick XML text cleanup when you are working with RSS descriptions, SOAP values, SVG snippets, sitemap text, config values, or XML-like API payloads.
When XML Escaping Helps
Preparing text values for XML attributes or element content.
Cleaning copied RSS, Atom, SOAP, SVG, sitemap, or configuration snippets.
Decoding entity-heavy text back into a readable form for review.
Checking whether text contains unescaped ampersands, angle brackets, or unknown entities.
How to Use the XML Escape Unescape Tool
- Paste XML text, entity text, RSS content, SVG markup, SOAP values, or a sitemap snippet.
- Choose whether to escape, unescape, inspect, or normalize the text.
- Pick quote handling and output format based on where you will copy the result.
- Use the review notes to catch suspicious entities or XML-sensitive characters.
- Copy the converted output when it matches your target format.
XML Entity Examples
Frequently Asked Questions
What does XML escaping do?
XML escaping replaces markup-sensitive characters with entity references so text can be placed safely inside XML content or attributes.
Is XML escaping the same as HTML escaping?
They overlap, but XML is stricter and commonly uses the predefined XML entities for ampersand, less-than, greater-than, quotes, and apostrophes.
Does this validate a full XML document?
No. It converts and inspects text. It does not validate XML structure, schemas, namespaces, DTDs, or feed correctness.
Can this decode numeric XML entities?
Yes. It can decode decimal entities such as A and hexadecimal entities such as A when they are valid.
Is anything uploaded while escaping XML text?
No. The conversion runs entirely inside your browser.
