Developer
XML Formatter
Paste XML to indent it properly, check that it parses, or compress it back down to a single line.
Good to know
Frequently asked questions
Does this validate against a schema?
No. It checks that the XML is well-formed. XSD or DTD validation is not performed.
Is my XML uploaded?
No. Parsing and formatting happen entirely in your browser.
Can it handle large files?
Yes, though very large documents (tens of megabytes) may take a moment to render.
Why did formatting fail?
Usually an unclosed tag, a stray < or > character, or mismatched element names.