FreeOnlineQR

XML Validator

Check whether an XML document is well-formed and, when it isn't, find the tag responsible. Every error names both ends of the problem — the tag that was expected, the tag that was found, and the line each of them is on — because an unclosed element three hundred lines up is what actually causes an error reported at the bottom of the file. It also counts what's in the document, so a valid result tells you something rather than nothing.

Result

Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.

Help us improve

Why use this tool

  • Finds unclosed tags, mismatched closes and more than one root element
  • Reports the line and column of both the error and the tag that opened it
  • Counts how many elements are still open, so you know the scale of the problem
  • Runs in your browser — no upload, no size limit but your own machine

How it works

  1. 1Paste the XML you want checked.
  2. 2Read the error — it names the tag expected, the tag found, and where each is.
  3. 3Fix the first error and check again; one missing tag often reports as several.

XML Validator — frequently asked questions

It is the minimum bar for XML: every element closed, closed in the right order, one root element, and attributes properly quoted. A document that isn't well-formed can't be parsed at all. It's a separate question from validity against a DTD or XSD schema, which asks whether the right elements are in the right places.

Explore the other tools

Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.

Or see every tool on one page.