Skip to content
KitWren
Website

XML Validator

Check that XML is well-formed: matching tags, one root element and properly closed markup.

  1. Paste your input
  2. Choose the options
  3. Copy the output
Runs in your browser. Your data and files never leave your device.

About the XML Validator

Find mismatched and unclosed tags and other well-formedness errors, with the line number where possible.

Frequently asked questions

Does it validate against an XSD or DTD?

No — it checks well-formedness, which every XML document must pass before schema validation.

What does well-formed mean?

Every opening tag has a matching closing tag, elements are nested properly, there is exactly one root element, attribute values are quoted and special characters are escaped.

Does it validate against a DTD or XSD?

No — it checks well-formedness, which is what most parsing errors are about. Schema validation needs the schema file.