XML Validator
Check XML syntax and read the browser parser's error details without uploading your document.
How to use it
- Paste XML or open a UTF-8 file. Load the example to try it.
- Select Validate XML.
- Read the report or correct the parser error and check again.
- Copy the result or download xml-validator.txt.
Well-formed does not mean schema-valid
Checks for a single root, matching tags, quoted attributes, and valid XML syntax. It does not validate XSD schemas, DTD rules, or application requirements. Error wording and line information depend on your browser.
DTDs and entity declarations are not supported. External documents are never loaded. Standard XML entities such as & and numeric character references are supported. Downloads use UTF-8; the formatter updates any encoding declaration accordingly.