Developer Tools

Escape XML strings online

Escape and unescape XML special characters.

All Tools

XML String Escaper

Upload file
Drag & drop a file here, or choose a file.
Input
Output

How to use

  1. Paste text.
  2. Choose Encode to escape XML or Decode to unescape.
  3. Copy the output.

Best practices

  • For best performance, try with smaller inputs first.
  • Preview the output before downloading or sharing it.
  • Avoid pasting sensitive data on shared devices.

Privacy

Some tools run in your browser. Some may require server processing depending on the feature.

Examples
Encode
Input
<root a="1">Tom & Jerry</root>
Output

                                    
Decode
Input
&lt;root a=&quot;1&quot;&gt;Tom &amp; Jerry&lt;/root&gt;
Output

                                    

Was this tool helpful?