Home › Validators › XML Validator
XML Validator
Check an XML document for well-formedness — matched tags, one root element, nothing outside it — and get a plain explanation of the first problem found.
How to use the XML Validator
- Paste your XML into the input box.
- Press Validate.
- A green message means the document is well-formed.
- If there is a problem, the message names the tags involved so you can find the spot quickly.
About this tool
Well-formedness is the minimum bar every XML parser demands: every opening tag closed in the right order, exactly one root element, and no stray text outside it. This checker walks the document with a tag stack and reports mismatched or unclosed tags in plain words. It does not validate against a DTD or schema — that is a separate, stricter kind of checking.