XML Minifier
Paste XML and strip all non-essential whitespace for a compact output.
Summary
Paste XML and strip all non-essential whitespace for a compact output.
How it works
- Paste the XML content
- Choose whether to remove comments
- Click Minify
- Copy the compacted XML
Use cases
- Optimizing SOAP request payloads
- Reducing XML sitemap file size
- Compressing Android resource XML files
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu