ToolHive
AboutAll Tools

Categories

JSON Tools11
Format Converters12
Code Generators17
Text Tools10
URL Tools2
HTML Tools5
CSS Tools6
JavaScript Tools3
XML Tools4
SQL Tools2
Encoding & Decoding11
Base64 Encoder / DecoderURL Encoder / DecoderHTML Entities Encoder / DecoderJSON Escape / UnescapeMorse Code ConverterImage to Base64 ConverterBase64 to Image ConverterBase32 Encoder / DecoderBase58 Encoder / DecoderXML Escape / UnescapePunycode Converter
Hashing & Crypto6
Generators9
Color Tools4
JWT & Auth2
Regex Tools1
Date & Time7
Diff & Compare4
Markdown3
File Tools7
ASCII Tools3
Network Tools4
Calculators15
YAML & GraphQL4
Playgrounds6
ToolHive
About·Privacy·Terms·© 2026 ToolHive
Privacy First
Home/Tools/Encoding & Decoding/XML Escape / Unescape

XML Escape / Unescape

Escape and unescape XML special characters online. Convert &, <, >, " and ' to XML entities and vice versa. Essential for embedding data in XML documents.

Your data never leaves your browser

Related

HTML Escape / Unescape

Escape and unescape HTML special characters

JSON Escape / Unescape

Escape and unescape special characters in JSON strings

XML Formatter & Beautifier

Format and beautify XML with proper indentation

Frequently Asked Questions

How is XML escaping different from HTML?

XML is stricter: & must always be &amp;, < must be &lt;, > should be &gt;. Attribute values also need " → &quot; and apostrophes → &apos;.