Check if XML is well-formed and get error details.
An XML validator checks whether your XML document is well-formed — meaning it follows XML syntax rules with properly nested tags, closed elements, and valid structure.
Use it before parsing XML in applications, publishing feeds, or sharing configuration files.
Paste your XML into the input textarea.
Click Validate XML to check well-formedness.
Review the success or error message.
Fix any reported issues and re-validate.
Well-formed XML has a single root element, properly nested tags, closed elements, and correctly quoted attributes.
This tool checks well-formedness only, not compliance with XSD or DTD schemas.
Yes. This tool is completely free to use with no sign-up, no limits, and no hidden fees.
No. All processing happens entirely in your browser using client-side JavaScript. Your data is never sent to a server or stored anywhere.
Free online utilities for text, code, and more — all running privately in your browser.
Validation
Paste XML and click Validate.