XML Formatter & Validator
Paste XML to check whether the browser can parse it as XML and produce a cleaner indented representation for inspection.
StatusInvalid
How this tool works
The browser DOMParser parses the input as application/xml. A parsererror indicates invalid XML; valid content is serialized and indented by element depth.
Example
A compact <root><item>One</item><item>Two</item></root> document is displayed across readable nested lines.
Common questions
Does this validate against an XSD schema?
No. It checks well-formed XML syntax, not schema-specific structural rules.
Does the XML leave the browser?
No. Parsing and formatting are local to the page.