XSD validator

Paste an XSD schema and an XML document (or drop the files): the tool checks the document and tells you, with the XPath, where it breaks the schema. It supports the most used parts of XSD 1.0.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop a file on this box (5 MB max), or
Drop a file on this box (5 MB max), or

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Paste the XSD schema on the left and the XML to check on the right, or drop the files.
  2. If the document is valid you get a confirmation; otherwise you see the list of problems, each with the XPath of the element or attribute.
  3. Fix the document (for example with the XML editor) and check again: the result updates as you type.

Frequently asked questions

Which parts of XSD are supported?

Elements and attributes, complex and simple types, sequence, choice, all, group and attributeGroup, extensions and restrictions, list and union, the most used built-in types, facets (enumeration, pattern, lengths, ranges, digits), minOccurs and maxOccurs, mixed, ID and IDREF.

What is not supported?

Namespaces (local names are compared), import, include and redefine, key, keyref and unique, substitution groups and the XSD 1.1 additions. If you need one of these, use a command-line tool such as xmllint.

Is my data sent to a server?

No: the check runs in your browser.

Privacy

Schema and document stay in your browser: they are not sent to any server.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain