Using XML Formatter: practical guide
Make XML readable
Formatting indents nested elements so the structure is clear, which helps when you debug an API response, a feed or a configuration file. The data itself does not change.
Fix well-formedness errors
XML needs every opening tag to have a matching closing tag, correct nesting, and escaped special characters such as & and <. Attribute values must be quoted, and a document can have only one root element.