XSD validator
Validate XML against an XML Schema (XSD) with libxml2.
This tool runs in your browser. Your files and text are not uploaded.
Accepts: Paste text or open a file. Limits: Up to 25.0 MB.
Loading tool…
How to use XSD validator
- Paste your XSD schema and your XML.
- Select Validate.
- Fix the reported errors (with line numbers).
Questions
Can my schema import other schemas?
Imports and includes are not fetched from the internet. Combine the schemas into one file.
How is this different from the XML validator?
The XML validator checks syntax only. This tool checks your XML follows the rules in the schema.
Related tools
More in Developer tools · All tools · Tool ID developers/xsd-validator