XML Formatter & Validator

Pretty-print, minify and validate XML with clear error messages and line numbers. Handles large files. Runs in your browser, free.

Formatted XML

How to use XML Formatter & Validator

  1. Paste XML or open a file (.xml, .svg, .rss, .plist…).
  2. Choose Format or Minify and the indentation.
  3. If the XML is broken, the exact line and column are shown.

Privacy

Runs entirely in your browser. Nothing you enter or open here is uploaded.

Questions

Does it check against a schema (XSD)?

No — it checks that the XML is well-formed. Schema validation needs the schema file and isn't done here.

Related tools