XML Minifier
Minify XML to reduce file size.
100% Private — Nothing is Uploaded
All processing happens locally in your browser. Your files never leave your device and are never sent to any server.
Other languages
About the XML Minifier
This tool reduces XML file size by removing comments and collapsing whitespace between tags only. Text content and CDATA sections are preserved exactly as-is.
What gets removed
- XML comments (
<!-- ... -->) - Whitespace and line breaks between tags
What is preserved
- Text content inside elements
- CDATA sections (
<![CDATA[ ... ]]>) - Attributes and their values
- Processing instructions and declarations