XML Validator
The XML validator confirms that a document is well-formed and, when it is not, reports the parser error with its position. It also summarises the document: root element, element count and maximum nesting depth.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the XML Validator
- Paste the XML document you want to check.
- A valid document returns a structure summary; an invalid one returns the parser error and its position.
- Fix the reported problem and validate again.
Example
<a><b></a>
Not well-formed Mismatched tag: expected </b> but found </a>.
Common use cases
- Finding the unclosed tag in a document a parser rejected.
- Checking a generated feed before publishing it.
- Confirming an SVG or configuration file is well-formed after editing.
Limitations and things to watch for
- This checks well-formedness only — that tags are balanced, attributes are quoted and the document has a single root. It does not validate against a DTD, XSD or RelaxNG schema.
- Browser parsers report the first error and stop, so fixing one problem may reveal another.