XML Escape / Unescape
Escape special characters like <, >, and & into XML entities, or unescape them.
What is XML Escaping?
In XML and HTML architectures, certain characters maintain special meaning. The characters < and > define tags, & is used to start entities, and quotes are used for attributes. If these characters appear as plain data within an XML node, it breaks the parser! Escaping converts these structural characters into safe entities like < and &.
How to Use
- Paste text: Paste the snippet you want to transform into the "Input" box.
- Select Action: Click "Escape XML" to convert special characters into entities, or "Unescape XML" to do the reverse process and retrieve the raw code.
- Copy: Click the "Copy Output" button above the result text area to instantly copy the modified string onto your clipboard.