Remove all whitespace from XML to reduce file size. Runs instantly in your browser — your data never leaves your machine.
All minification happens in your browser using JavaScript. Nothing is uploaded to any server. Safe for SOAP messages and config files.
No waiting for a server round-trip. Minified output appears as you type or the moment you drop a file.
Remove all unnecessary whitespace to reduce XML file size — useful for SOAP payloads, RSS feeds, Maven POMs, and Spring configurations.
Paste your XML into the left panel and the minified output appears instantly on the right. The minify toggle is on by default — just paste and go. You can switch to pretty-print mode using the indent selector or the Minify toggle button. You can also drag and drop an .xml file or use the upload button.
Minifying XML is useful when you need to reduce payload size for SOAP web services, compress RSS or Atom feeds, shrink Maven POM or Spring configuration files, or transmit XML over bandwidth-constrained connections. Minified XML is semantically identical to formatted XML — only insignificant whitespace is removed.