XML Minifier
Transform text and structured data locally in your browser.
Transform text and structured data locally in your browser.
XML Minifier removes <!-- comments --> and collapses every run of whitespace into a single space, shrinking pretty-printed XML into one line. Spaces between tags are reduced but not removed, and whitespace inside text nodes is also collapsed, so check mixed-content documents.