Formatters tool
✦ Browser-firstXML Formatter
Validate, indent and minify XML.
About this tool
Check that your XML is well-formed, then indent or minify it. Parse errors are reported with a clear message.
How to use the XML Formatter
- Paste XML or import a file.
- Format to indent it, or minify to compact it.
- Fix any reported well-formedness errors and copy the output.
Common uses
- Reading SOAP and RSS payloads
- Cleaning config files
- Checking well-formedness
XML Formatter questions
Does it validate against a schema?
It checks that the XML is well-formed. It does not validate against an XSD.
Are comments preserved?
Yes, comments are kept when formatting.
Is the XML uploaded?
No, everything runs in your browser.