Latest web development tutorials

XML Validator

Use our XML Validator to check the syntax of your XML file.


XML error will terminate your program

XML document error will terminate your XML applications.

The W3C XML specification states: If the XML document there is an error, then the program should not continue processing the document. The reason is, XML software should be lightweight, fast, has good compatibility.

If you use HTML, create a large number of errors in documents is possible (for example, you forget your end tags). One of the main reason is quite bloated HTML browser, compatibility is very poor, and they have their own way to determine if an error was found when the document should be displayed Why look.

When using XML, this situation should not exist.


Your XML syntax check

To help you on XML syntax checking, we created an XML validator.

Put your XML into the text box below, then click on the "Verify" button to perform syntax checking.

Grammatically correct examples:

Syntax Error Example:


Note: Check your XML only if "good form."If you want a DTD to validate XML, please refer to the last paragraph on this page.


According to DTD to validate XML

If you are runningInternet Explorer, you can validate your XML in the following text area based on DTD.

As long as the DOCTYPE declaration (with DTD) to your XML in <xml> element after, then click on the "Verify" button: