Minify XML while preserving text-node whitespace and escaped values.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Inter-element whitespace and comments are removed where XML permits, while text nodes, attributes, and entity references remain escaped. The result is compact XML serialization.
<root>
<!-- Config -->
<item>
<name>Test</name>
</item>
</root>
<root><item><name>Test</name></item></root>
SOAP payloads, SVG bundles, and XML fixture snapshots use minification.