XML Minifier

Strip comments and the whitespace between elements from XML, SVG, RSS and sitemap files. Text inside elements and CDATA sections is preserved.

Open XML Minifier

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Collapse XML to a single compact line. Strip comments and the whitespace between elements from XML, SVG, RSS and sitemap files.

Use it from code

XML Minifier runs on its page only and has no API. The Tools API covers the tools you can call from code.

Similar tools

All Developer Tools