XML Validator Online

Check if your XML is well-formed and find the exact line and column of the first error. Free, in your browser, nothing is uploaded.

How to use the XML Validator Online

Validate, beautify and clean JSON, CSV, XML and YAML.

  1. Paste or upload your data
  2. Choose the options
  3. Copy or download the result

Tips

Example

Input: <a><b></a>

Output: Error at line 1: mismatched closing tag </a>

Frequently asked questions

How do I know if my XML is well-formed?

Paste it in. If a tag is not closed or nested correctly, the first error is shown with its line and column.

Does it check against an XSD schema?

No. It checks that the XML is well-formed, not that it follows a particular schema.

Guides