Indent or minify XML and catch unclosed tags — right in your browser.
XML formatter and validator
Paste XML — a SOAP response, sitemap, RSS feed, Android layout or GST e-invoice XML — and get it indented with one element per line, or minified into a single line. The tool uses the browser's XML parser, so unclosed tags, mismatched case and stray & characters are reported as errors.
Also see the JSON formatter and Word to HTML converter.
Frequently asked questions
Does it validate against an XSD schema?
No — it checks well-formedness (matching tags, proper nesting, escaped characters), which catches most problems.
Why is my & causing an error?
In XML an ampersand must be written as & unless it starts an entity like <.
Is the XML uploaded?
No, everything runs locally in your browser.