XML Escape & Unescape
Escape or unescape XML-reserved characters.
About the XML Escape & Unescape
Escape the five XML-reserved characters into entities or unescape numeric and named entities back to characters, so embedded text never breaks document well-formedness.
Frequently asked questions
Which characters must be escaped in XML?
& < > in text, plus " and ' inside attribute values — all five are handled.
Are numeric character references supported?
Yes — decimal (&) and hexadecimal (&) forms both unescape.