XML Validator

Check whether an XML document is well-formed, with a clear error message.

Processed on your device. Files are not uploaded

How to validate XML

  1. Paste your XML

    Paste or type your XML into the box.

  2. Check it

    It tells you whether the XML is well-formed.

  3. Fix errors

    If not, a clear message explains the problem.

When to use XML Validator

A feed or configuration file will not load, and you want to know whether the XML is well-formed.

You are checking a file for closed and correctly nested tags.

Tips for a better XML Validator result

Paste the XML and read the verdict, with a clear message when it is not well-formed.

Check that there is one root element and that attributes are quoted.

XML Validator: limits and what to check

It does not check against a schema, only that the XML is well-formed.

To tidy the XML as well, use the XML formatter.

About XML Validator

Check whether an XML document is well-formed, meaning every tag is closed and nested correctly. To tidy it as well, use XML Formatter & Validator.

FAQs

Does it check against a schema?

No. It checks that the XML is well-formed.

Can it also format?

Use XML Formatter & Validator.

Related tools