XML Validator

Use our XML validator to syntax-check your XML.

XML Errors Will Stop You

Errors in XML documents will stop your XML applications.

The W3C XML specification states that a program should stop processing an XML document if it finds an error. The reason is that XML software should be small, fast, and compatible.

HTML browsers will display HTML documents with errors (like missing end tags).

With XML, errors are not allowed.

Syntax-Check Your XML

To help you syntax-check your XML, we have created an XML validator.

Paste your XML into the text area below, and syntax-check it by clicking the "Validate" button.

Syntax-Check an XML File

You can syntax-check an XML file by typing the URL of the file into the input field below, and then click the "Validate" button:


Note If you get "Access Denied" or "Network Error", it is because your browser does not allow file access across domains.

The file "note_error.xml" demonstrates your browsers error handling. If you want to see an error-free message, substitute the "note_error.xml" with "cd_catalog.xml".

A General XML Validator

To help you check your xml files, you can syntax-check any XML file here.

Parse Errors

You can read more about the parse errors in our XML DOM tutorial.