Paste your XML and click Prettify to format it with clean indentation, or Minify to compress it by removing whitespace and comments. The output auto-formats as you type. Everything runs locally in your browser.
XML Prettify / Minify
Format or compress XML
Output will appear here...Related Tools
Get weekly dev tools and tips