Validating your XML files

You can either copy and paste XML files into the text area, or you can upload your files.

If your uploaded files contain references to other files, you will be prompted for those. During your session, all of your files are kept for you on the server, and you can edit each of them.

If errors are found in any of these files, they are marked in the text with icons. If you point at one of these icons with your mouse, the error is desribed in a popup window:

An example

If you would like to see how xmlvalidation.com works, but don't have an XML file to use for testing, you can use this example.

First, paste or upload the XML file. You will then be prompted for the XSD file. When both are uploaded, the errors will be highlighted and described.

Please copy your XML document in here:


Or upload it:

The validation check is performed against any XML schema or DTD declared inside the XML document.

If neither an XML schema nor a DTD is declared, only a syntax check is performed.

To validate the XML document against an external XML schema, click below.