Warning! Please select the valid XML file.
Browse
Load URL
Escape
UnEscape
Clear
Copy Clipboard
Download
Clear

About XML Escape and UnEscape Online Tool

  • XML Escape and XML Unescape is a free online developer tool to escape special characters in XML. To ensure it's safe to render or unescape XML entities to their original characters.

  • You can either browse a file locally from your device, fetch it from the URL, or enter it manually.

  • This tool is split into two modes are XML Escape and XML Unescape.

  • You can either copy the result to your clipboard using the copy button or download it as a file to your device using the download button.

Escape XML

Escapes the XML special characters by converting them to their corresponding escaped characters as listed below.

  • & is converted to &
  • < is converted to &lt;
  • > is converted to &gt;
  • " is converted to &quot;
  • ' is converted to &#39;

UnEscape XML

Unescapes the XML special characters by converting them back to their original ones are listed below.

  • &amp; is converted to &
  • &lt; is converted to <
  • &gt; is converted to >
  • &quot; is converted to "
  • &#39; is converted to '

XML Escape and XML UnEscape Online Example:

Below is an example of the XML Escape result.

XML Input:


Escaped XML Output: