XML Well-Formedness Checker
Paste XML and validate it's well-formed, with line-numbered parse error details.
Share on Social Media:
Paste any XML document to check whether it's well-formed. If parsing fails, the tool lists every parse error with its severity, line number, and column so you can pinpoint exactly what to fix.
Frequently Asked Questions
Well-formed XML follows the basic syntax rules of the XML specification — properly nested and closed tags, a single root element, and correctly escaped special characters — regardless of whether it matches any particular schema.
No — this tool only checks that your XML is syntactically valid and reports parse errors. It doesn't pretty-print or reformat the XML; use the XML Formatter tool for that.
Yes — well-formedness only checks basic syntax rules; a document can be perfectly well-formed while still violating a specific schema's required structure or data types (a separate check called schema validation).