Paste or upload an XML file to strip all non-essential whitespace while preserving valid XML structure. The tool validates the input first so you never get a silently broken output. All processing runs in your browser.
Parses via the browser's DOMParser and re-serializes — structure and content are preserved; only formatting whitespace is removed.
The stats bar shows input vs output byte size and the percentage reduction achieved.