XML Validator
Check XML well-formedness and pinpoint syntax errors by line and column.
✓ Well-formed XML (9 elements)
Your input is processed locally in this browser tab.
How to use XML Validator
Paste or open an XML document (Validate mode is active).
Well-formedness status displays element count on success or the exact line and column of mismatched/unclosed tags.
Fix errors inline or switch to Format / Minify anytime.
Frequently asked questions
Which XML errors are caught?
Mismatched end tags, unclosed tags, duplicate attributes, unquoted attributes, double-hyphen inside comments, and multiple root elements.
Is XML input sent anywhere?
No. Validation is purely local.