XML Validator
Validate whether XML is valid against an XML schema (XSD)
Features
Full-fledged XSD-compliant validation
Rigorously checks structure, types, and required elements with the libxml2 engine
Show error locations by line
List violations linked to the relevant lines to quickly identify the cause
Enter XML and XSD directly
Paste into the two input fields, or specify them by loading files
Check behavior with samples
Load valid and error examples with one click to quickly grasp the behavior
How to use
Enter the XML
Paste the XML into the left input field, or specify it with "Load XML file"
Enter the XSD
Paste the XSD (XML schema) into the right input field, or load it from a file
Run the validation
Press the validate button or Ctrl/Cmd + Enter to start the validity check
Check the result
A compliance message, or a list of violations with line numbers
Use cases
Pre-checking data integration
Validate before shipping that the XML you send and receive meets the agreed schema spec
Quality-checking config files
Check before applying that an XML-format config has the defined elements and types
Behavior verification during API development
Quickly check at the development stage that a response XML conforms to the schema
Understanding behavior while learning schemas
Understand how changes to an XSD affect validation results by trying them out
Safety and privacy
Runs entirely in your browser
Your input data is processed only within your browser and is never sent externally.
Processing only in your browser
Validating XML and XSD is processed entirely within your browser, and input data is not sent to any server.
Communications encrypted with HTTPS
Page loading is also encrypted by TLS, and content cannot be read by third parties.
No transmission to third parties
Input content is not sent to external services such as ad networks or trackers.
No automatic saving of results
The XML/XSD you enter and the validation results and input suggestions are not stored on the server.