XML validator
Check that an XML document is well-formed and display syntax errors.
🔒 100% client-side — no data sent
Check that an XML document is well-formed and locate errors: unclosed tag, bad nesting, illegal character. Our online XML validator flags the exact position of the problem. Everything happens in your browser, with no data sent to any server.
What is it for?
- ▸ Check an RSS feed or XML sitemap before publishing.
- ▸ Debug a config file (pom.xml, web.xml) that fails on startup.
- ▸ Verify an XML export or SVG file before integration.
- ▸ Validate a SOAP response received from a web service.
FAQ
What does a 'well-formed' XML mean?
A well-formed XML follows the syntax rules: a single root element, all tags closed and properly nested, attributes in quotes. This differs from validity against a schema (XSD/DTD).
Does the tool check against an XSD or DTD schema?
It checks that the document is well-formed (syntax). Validation against an XSD schema or a DTD is a separate step not covered by the well-formedness check.
Why is my XML rejected even though it displays?
Some browsers tolerate malformed HTML, but XML is strict: an unclosed tag, an unescaped ampersand, or bad nesting triggers an error.
Is my XML data kept private?
Yes. Parsing happens locally in your browser. No content is transmitted or stored.