Encode
Input
<root a="1">Tom & Jerry</root>
Output
Escape and unescape XML special characters.
Some tools run in your browser. Some may require server processing depending on the feature.
<root a="1">Tom & Jerry</root>
<root a="1">Tom & Jerry</root>