XML Beautify/Minify
Format or minify XML with configurable indentation. DTDs and custom entities are not supported.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Format XML”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
<?xml version="1.0" encoding="UTF-8"?><catalog currency="USD"><!-- Featured books --><book id="bk101" available="true"><title>XML Developer’s Guide</title><authors><author>Ada</author><author>Grace</author></authors><price>44.95</price><description><![CDATA[Examples with <tags> & attributes.]]></description></book><book id="bk102" available="false"><title>Midnight Rain</title><price>5.95</price><tags/></book></catalog>