UWTools
Developer Tools

XML Minifier

Compress valid XML into a compact form.

0Input chars
0Output chars
0%Saved
Minified XML will appear here.

Paste XML to begin.

Validation before minifying

The XML is parsed first. Invalid markup is rejected instead of being silently modified.

What gets removed

Whitespace between tags is collapsed after successful parsing.