XML Minifier

This free online XML minifier helps you minify your XML string and make it more cleaner. It can remove indentation, new lines and comments to reduce size.

Input
Output
Settings

About the XML Minifier

The XML minifier removes whitespace between tags and optional comments to make XML documents smaller for transport and storage.

The tool is free, needs no sign-up and runs entirely in your browser, so your data never leaves your device.

Related tools