Validate XML

Paste, upload or fetch by URL. Optionally check the document against an XSD, DTD or RelaxNG schema, against a catalog profile with its Schematron business rules, or against your own Schematron rules. Documents are validated on your machine and never uploaded.

XML document

· ·

The file is downloaded through our server, which doesn't keep it, and validated in your browser. Public http(s) addresses only.

Schema type
·

The document is validated against the DTD declared in its own <!DOCTYPE>. Only an internal subset is available in the browser: external DTD files can't be fetched from here; upload them on the Upload tab instead.

· · main About this schema

Official schemas with their include files. Browse the catalog

compiling ready failed

The browser can run Schematron but not compile it, so the .sch file (and only that file) is compiled on our server and kept for a week. The rules then run here, on documents that pass the schema check or, without a schema, are well-formed. XPath 2.0 and 3.0 (query binding xslt2 or xslt3) are supported; choose the files a schema includes along with it.

Ready · press ⌘ ↵ to validate … Validating in your browser… Done in · Cancelled Something went wrong
passed · failed so far
/ · issues so far ~ remaining ·
!

Couldn't validate

Create a free account →
Validation cancelled after .

Files up to 50 MB without an account, up to 1 GB with a free account. Up to 1,000 errors are listed; all of them are counted.