An XML formatter, also called an XML beautifier, takes messy XML on one line and spreads it out with neat indentation. Paste your XML into the box and click Format XML. The tool checks the XML, then prints each element on its own line with two spaces per level, so nested tags are easy to read. Invalid XML shows the exact parse error instead. Your text never leaves your browser.
Limit: Max 1,000,000 characters.
Yes, it is free, no sign-up needed.
Two spaces per level, with each element on its own line.
You get the exact parse error, such as a missing closing tag, and no fake output is made.
No. The formatting runs in your browser, so your XML stays on your device.