XML Formatter

Make XML readable, check it is well-formed and find errors in sitemaps, feeds and configs.

How to use the XML Formatter

  1. Type or paste your text into the box on the left.
  2. Adjust the options above if you need to. The result updates as you type.
  3. Click Copy result or Download to use your result.

What you can use it for

  • Check XML sitemaps for SEO
  • Read RSS and API responses
  • Minify XML config

Private by design

The XML Formatter runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.

Frequently asked questions

Does it validate against a schema?

It checks that XML is well-formed. Schema (XSD) validation is not included.

Will it change my data?

No. Only whitespace between tags changes.