Use the XML/XHTML Encoder & Decoder utility to convert special characters in strings for use in XML and XHTML documents.

XML/XHTML Encoder & Decoder

Use the XML/XHTML Encoder & Decoder utility to convert special characters in strings for use in XML and XHTML documents.

Type or paste a string consisting of plain text into the box above and click the "Encode" button to encode it to XML.
Type or paste an XML string into the box above and click the "Decode" button to decode it into plain text.