XML String Escaper / Unescaper

Escape text for safe inclusion in XML (& < > " ') or unescape entity-encoded XML fragments.

Input
Paste or type your content here…
Output
Your result will appear here

Frequently Asked Questions

Attribute vs text?
The five XML predefined entities cover both common attribute and text cases.
CDATA?
This tool does entity escaping - it does not wrap CDATA sections.