XML Escape / Unescape

Output will appear here

Output will appear here

Empty

XML Escape / Unescape

Converts reserved characters to XML entities and unescapes valid XML text back to plain text. Helps maintain valid document structures.

Use Cases

  • Preparing unsanitized user inputs to store verbatim in RSS feeds
  • Escaping dynamic values pushed into API SOAP requests

Frequently Asked Questions

How is XML escaping different from HTML?

XML has a stricter set of default entities (only 5 built-in: lt, gt, amp, apos, quot). It avoids named entities common in standard HTML forms.