Use our XML validator to syntax-check your XML.
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 documents with errors (like missing end tags). HTML browsers are big and incompatible because they have a lot of unnecessary code to deal with (and display) HTML errors.
With XML, errors are not allowed.
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.
Note: This only checks if your XML is "Well formed". If you want to validate your XML against a DTD, see the last paragraph on this page.
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 an "Access denied" error, it's because your browser security 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".
If you run Internet Explorer, you can validate your XML against a DTD in the text area below.
Just add the DOCTYPE declaration (with the DTD) after the <xml> element, and click the "Validate" button:
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.