XML Escape / Unescape

Escape special characters for safe use in XML documents, or decode XML entities back to plain text. Escapes the five XML predefined entities: & < > " '.

Input
Output

Paste text above and click Escape or Unescape.