Pronto Arquivo
☰

XML Validator and Formatter

Check that your XML is well-formed and see it neatly indented.

  • Never leaves your device
  • No sign-up

Quick answer: To validate XML, paste it into the box. If it's well-formed, you'll see the formatted XML, the number of elements and the depth. If there's an error, the browser's message shows the line and the problem, such as an unclosed tag.

How to do it in 3 steps

  1. 1Paste the XML.
  2. 2See if it's well-formed.
  3. 3Copy the formatted XML.

Why use Pronto Arquivo

Error with line number

Points to the unclosed tag or invalid character.

Formatting

2-space indentation for easy reading.

Sitemaps and feeds

Check sitemaps, RSS feeds and config files before you publish.

Private

Your XML never leaves your device.

Guides

Well-formed vs. valid

This tool checks the structure (well-formed). Validating against an XSD schema is done by the system that consumes the file.

Frequently asked questions

How do I validate XML online?

Paste the content: you'll see Well-formed XML or the error with its line.

Does it validate against an XSD schema?

No; it checks that the structure is correct.

Can I use it for sitemaps?

Yes, to check the structure and read the formatted content.

Is the XML uploaded?

No. Everything is processed in your browser.

More tools