XML Minifier
Strips the whitespace between tags and removes comments to shrink an XML payload before sending it over the wire. Text content and CDATA sections are preserved byte-for-byte, so only formatting is lost. Runs entirely in your browser — nothing is sent to a server.
Strips the whitespace between tags and removes comments to shrink an XML payload before sending it over the wire. Text content and CDATA sections are preserved byte-for-byte, so only formatting is lost. Runs entirely in your browser — nothing is sent to a server.
Use cases
- Reducing the size of a SOAP request or RSS feed
- Normalising XML before comparing two documents
Examples
Indented XML
<note> <to>Ada</to> </note>
<note><to>Ada</to></note>
FAQ
Is my data sent to a server?
No — this tool runs entirely in your browser.
Are comments removed?
Yes. Comments carry no data, so minifying drops them.