URL-Decode

XML Escape/Unescape

Result

The Free Online XML Escape/Unescape Tool removes the offending or reserved characters (that could be wrongly interpreted as markup) in the XML string with its corresponding entities. You can also convert the escaped XML string to its original ones.

The free online XML Escape/Unescape tool performs the following two main functions.

  • It escapes the reserved characters (that could be wrongly interpreted as markup) in the XML string with its corresponding entities.
  • It unescapes the escaped XML string back to its original ones.

XML Escape

The following characters are reserved in the XML string and should be removed before using the XML string.

In XML Escape,

  • & (Ampersand) is converted to &
  • < (Less-than) is converted to <
  • > (Greater-than) is converted to >
  • " (Quotes) is converted to "
  • ' (Apostrophe) is converted to '

XML Unescape

The following characters in the XML string must be appropriately unescaped and bring them back to the original ones.

In XML Unescape,

  • & is converted to & (Ampersand).
  • < is converted to < (Less-than).
  • > is converted to > (Greater-than).
  • " is converted to " (Quotes).
  • ' is converted to ' (Apostrophe).

How to use Free Online XML Escape/Unescape Tool?

  • Open the XML Escape/Unescape Online tool.
  • You can copy-paste the XML code.
  • Click on the "Escape" button.
  • The tool replaces the reserved characters in XML with their corresponding escaped characters.
  • The resulted code will be displayed in the "Result" section.
  • Please copy the code and paste it into the desired location.
  • You can unescape the XML escaped string by clicking on the "Un Escape" button.

How to use the Load Sample Data option in XML Escape/Unescape Online Tool?

Coding is crucial. A little tiny mistake sometimes gives devastating results. It is always better to have a backup of the code file before going into the escape/unescape process.

The "Load Sample Data"option is quite helpful in this way. So that you can check the results that escape/unescape can give.

For that,

  • Click on the "load sample data" button.
  • The tool will display the sample data in the above section.
  • Click on the "Escape" button to escape the XML string.
  • The tool will display the result in the "Result" section.
  • Click on the "Un Escape" button to unescape the XML string.

Do we keep a copy of your source code?

Protecting user trust is our top priority. We do not keep a copy of the source code that the user pastes for the XML Escape/Unescape process.

Note: We do not keep a copy of the resulted code. Therefore, please copy the resulted code and paste it to the desired location for future use if you are happy and satisfied with the XML Escape/Unescape.