XSD Validator

Check an XML document against an XSD schema.

XSD Validator

.xml · .xsd

Paste text or open a file to see the result.

What it does

Checks an XML document against an XSD schema: which elements are allowed, in what order and with what data types. Use it before you send XML to a system that only accepts files matching its schema. You get a list of errors with their lines.

How to use the XSD Validator

  1. Paste the XML document into the Input box.
  2. Add a line of five equals signs (=====) under it.
  3. Paste the XSD schema below that line; imported schema files are not loaded.
  4. Fix the problems listed, each with its line and column.

About the .xml format

.XML file extension

.xml XML File

Data Files

File Type
XML File
Developer
W3C
Category
Data Files
MIME
text/xml

XML stands for "extensible markup language", it is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

Also works with

Related tools

More in Validators

XSD Validator questions

How do I use the XSD Validator?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .xml change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .xml page lists programs and converters for it.