XML Validator
Check that XML is well-formed and see the exact line and column of the first error. Free and private: runs in your browser.
Paste XML to validate its syntax: unclosed tags, mismatched names, bad attributes and invalid characters.
Runs entirely in your browser. Nothing you paste is uploaded or stored.
Use cases
- Find a syntax error before the build or deploy fails.
- Check config files in code review.
- Learn the rules your linter enforces.
Frequently asked questions
Does it validate against an XSD schema?
It checks well-formedness (the XML syntax rules). Schema validation needs the XSD and is best done in your build or IDE.
Is the XML Validator free?
Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.
What should I do with the issues it reports?
Fix high-severity items first; they usually break builds or deployments. Lower-severity items are style and best-practice suggestions.
Related tools
Checking one snippet is a start. Scan your whole repository for free with CodeInspector.