XML Formatter & Validator
Format messy XML into readable indented output, minify it, or validate that your document is well-formed — all in your browser.
XML input
Not validated yet
Output
How to use the XML Formatter & Validator
Reformat messy XML into readable, indented output, minify it, or validate that your document is well-formed — all in your browser.
Steps
- Paste XML — paste your document into the input box.
- Format — pretty-print with proper indentation. Minify collapses it onto fewer lines.
- The status badge reports whether the document is well-formed XML; errors are shown inline.