XML Validator

Validate XML documents for well-formedness and syntax errors. Free online XML validator.

Input198 chars
Output
0 chars

Examples

Invalid XML (Unclosed tag)
<note>
  <to>George</to>
  <from>John
</note>
Valid XML
<note>
  <to>George</to>
  <from>John</from>
</note>

Frequently Asked Questions

What is an XML Validator?

An XML Validator checks if your markup is 'well-formed' (tags are correctly closed and nested, attributes have valid values, and standard declarations are present).

Does this validate against DTD or XSD schemas?

Currently, this validator checks XML well-formedness. Schema validation (DTD/XSD) is not supported.

Related Tools