CloudAlls Tools
Formatters tool

XML Formatter

Validate, indent and minify XML.

✦ Browser-first
Why it is useful

About this tool

Check that your XML is well-formed, then indent or minify it. Parse errors are reported with a clear message.

Quick guide

How to use the XML Formatter

  1. Paste XML or import a file.
  2. Format to indent it, or minify to compact it.
  3. Fix any reported well-formedness errors and copy the output.

Common uses

  • Reading SOAP and RSS payloads
  • Cleaning config files
  • Checking well-formedness
FAQ

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.