Free · Make XML neat and easy to read
XML Formatter
Add clean spacing and line breaks to messy XML without sending it anywhere.
- Clear result
- Private in your browser
- Copy or download
Make XML neat and easy to read
Paste text or open a file. The result stays in this browser tab.
XML to format1 lines · 187 characters
Tip: press Ctrl or Command + Enter to run.
Formatted XMLResult ready
Elements7
Lines10
StatusValid XML
<catalog>
<book id="1">
<title>The Small Garden</title>
<price currency="CAD">18.50</price>
</book>
<book id="2">
<title>Le ciel bleu</title>
<price currency="CAD">21.00</price>
</book>
</catalog>Three simple steps
How to use it
- Paste XML or open an XML file from your device.
- Pick the spacing you want, then press Format XML.
- Copy the neat result or download a new XML file.
Your file stays on this device
fast-xml-parser reads and changes the text inside this browser tab. Bookify does not upload or save it. For safety, this tool does not open XML files with a DOCTYPE.