XML Formatter

Pretty-print and format XML documents.

About the XML Formatter

Minified XML is hard to read. Paste any XML document and get properly indented, formatted output.

How to use the XML Formatter

  1. Paste your XML into the input.
  2. Click Format XML.
  3. Copy the formatted result.

Frequently Asked Questions

Does it validate XML?
Invalid XML will show a parse error with details.