XML Minifier

Minify XML documents online to remove whitespace and shrink file size. Free and runs in your browser. Free and private.

FAQ

How do I minify XML?

Paste your XML into the input. The minified version appears automatically; copy or download it.

What does minifying do?

It removes unnecessary whitespace and comments so the file is smaller and loads faster.

Is my code uploaded anywhere?

No. Minification runs entirely in your browser, so your code stays on your device.