XML Validator
Check that an XML document is well formed and see a clear error description.
Input
Result
How to use
Validating XML
Press Validate to confirm the document is well formed according to the XML specification.
- Paste XML into the input editor.
- Press Validate.
- Fix any reported problem.
Frequently asked questions
Does it check a schema?
It checks well formedness only. Schema and DTD validation are not performed.
Which parser is used?
The browser built in DOMParser, the same parser used for AJAX responses.
Related tools
XML Formatter
Pretty print XML with consistent indentation and optional attribute wrapping.
XML Minifier
Remove whitespace between XML tags to produce the smallest payload.
JSON Validator
Check whether your JSON is valid and see a clear explanation of any syntax problem.
YAML Formatter
Parse and re-serialise YAML with consistent indentation and validation.
YAML Validator
Validate YAML syntax and get a precise error when indentation or structure is wrong.
XML to JSON
Convert XML into JSON with attributes and repeated elements handled sensibly.