XML Formatter
Check XML is well-formed, pretty-print or minify it, and expand or collapse any element.
Click ▸ to open or close a branch; Alt-click opens or closes everything inside it.
Formatting puts each element on its own line and trims the whitespace around text, except inside
xml:space="preserve". Everything runs in your browser.