XML Validator

Checks that XML is well-formed and reports what is wrong when it is not. Mismatched and unclosed tags are named, documents with no root element or more than one are flagged, and elements that repeat an attribute are reported. The result also gives the root element name and the total element count. Runs entirely in your browser — nothing is sent to a server.

Ad placeholder: Resp_Horizantal_1 (horizontal)
Ad placeholder: Resp_Square_1 (square)

Checks that XML is well-formed and reports what is wrong when it is not. Mismatched and unclosed tags are named, documents with no root element or more than one are flagged, and elements that repeat an attribute are reported. The result also gives the root element name and the total element count. Runs entirely in your browser — nothing is sent to a server.

Use cases

  • Finding the unclosed tag breaking a config file
  • Checking a generated feed or SOAP envelope before sending it

Examples

Well-formed XML

<note><to>Ada</to></note>
{
  "valid": true,
  "root": "note",
  "elements": 2,
  "problems": []
}

FAQ

Is my data sent to a server?

No — this tool runs entirely in your browser.

Does it validate against a DTD or XSD?

No. This checks well-formedness — that the markup itself is valid XML. Validating against a schema is a separate step.

Why does invalid XML still return a result?

Reporting the problem is the tool doing its job, so malformed markup comes back as a finding with "valid": false rather than an error.