Frequently asked questions
What is the difference between well-formed and valid XML?
Well-formed XML follows the rules of the XML language itself: every tag is closed and properly nested, there is one root element, attributes are quoted and special characters are escaped. Valid XML is well-formed and also follows a schema that describes which elements and attributes are allowed, in which order, and what kind of values they hold.
Do I need a schema?
No. Without a schema the validator checks that the XML is well-formed and shows its size and depth. Paste or open an XSD schema in the right-hand box to also check the structure and the values, for example that a price is a number or that a required attribute is present.
Which schemas are supported?
XSD (XML Schema 1.0) in one file. Schemas that pull in other files with xs:import or xs:include cannot load those files here; copy their definitions into one schema instead. DTD and RELAX NG validation are not available on this page.
Why are the schema messages in English?
They come from libxml2, the standard XML library used by many programs and operating systems, which writes its messages in English. The line numbers, the headings and the well-formedness messages are shown in your language.
Is my XML uploaded?
No. The schema check runs in your browser: libxml2 is compiled to WebAssembly and downloaded the first time you validate against a schema (about 1 MB). Your XML and your schema never leave your device. Our server only records that one check was done, so the daily limit can be applied.
What counts towards the daily limit?
Each completed validation counts once, whether the XML turns out valid or not. Mistakes that make the XML not well-formed are shown for free as you type and are never counted.





