XML formatter and validator
Indent messy XML so you can read it, or compress it for production.
How to format XML
- 01Paste your XML.
- 02Choose Format or Minify.
- 03Copy or download the result.
FAQ
No. Everything runs in your browser with JavaScript. Nothing you type is uploaded, and closing the tab clears it.