XML Formatter & Validator

Beautify, minify and validate XML — sitemaps, feeds, configs.

DeveloperFreeNo sign-up
Loading tool…

Runs entirely in your browser — nothing you enter is uploaded or stored on a server.

How to use it

Format XML with clean indentation, minify it, and check it is well formed — mismatched or unclosed tags, text outside the root and stray < are reported with their line and column.

  1. Paste XML or open a file.
  2. Choose beautify or minify.
  3. Fix any error it reports, then copy.
DevelopersSEOsAnalysts

Questions

Does it validate against a schema?

It checks that the XML is well formed — correctly nested and closed — not that it matches an XSD schema.