Skip to content
Jellykit

XML Validator

Check whether XML is well-formed and see the exact line and column of mismatched tags, bad attributes or stray characters. Free online XML checker, no upload.

Runs in your browser. Nothing is uploaded.

About XML Validator

XML Validator checks that a document is well-formed: every tag closed in the right order, attributes quoted, one root element, no illegal characters. When something is wrong, it names the problem and the line and column where it happened.

For valid documents it reports the root element, the number of elements and attributes, and the maximum nesting depth, which is a quick sanity check on a large feed or export.

How to use XML Validator

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Does it validate against an XSD or DTD?

No. It checks well-formedness, which is what breaks parsers. Schema validation needs the schema file and is not supported.

Why does an & cause an error?

A bare & is not allowed in XML text. Write it as &amp; (and < as &lt;).

Is XML Validator free and private?

Yes. XML Validator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all data tools →