XML Escape / Unescape

XML Escape Unescape – Use our XML Escape / Unescape online tool to escape or unescape XML strings and special characters such as backspace, new line, backslash, double quote, tab and carriage return.

XML Escape / Unescape Online Tool

Escaped / Unescaped XML

Escape / Unescape Online Tools

How to Escape or Unescape XML using XML Escape / Unescape Online Tool

Step 1: Paste XML code or drag XML file.

Step 2: Click on Escape button to Escape XML Special characters.

Escape XML special characters by converting them to the following escaped characters so that XML string safe to use.

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

Step 3: Click on Unescape button to unescape XML code.

Unescape XML special characters by converting them back to the following unescaped characters.

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

Step 4: Copy the escaped or unescaped XML string result. You can also use clear button to start afresh.

XML Special Characters

Character XML Escape Value
quote (“) "
amphersand (&) &
less than symbol (<) <
greater than symbol (>) >
single quote (‘) '