Skip to content
IntegrateKit

XML Validator: Check Well-Formed XML

Check that XML is well-formed and see the exact line and column of each error. Safe parsing with external entities disabled. Runs locally.

FreeRuns in your browser

XML Validator tool

Runs in your browser. External entities and DTDs are never loaded.

XML

0 B

About this tool

Check that an XML document is well-formed: every tag closed and correctly nested, attributes quoted and unique, entities valid, namespace prefixes declared and a single root element.

Errors show the exact line and column with a clear explanation, for example an end tag that doesn't match its start tag.

How to use it

  1. Paste XML or open a file.
  2. Press Check XML.
  3. Use Go to line to jump to the problem.

Limitations

  • Well-formedness only; no DTD or XSD validation.

Example

Input
<order id="1">
  <item>Widget</item>
  <price>9.99</cost>
</order>
Result
Not well-formed: End tag </cost> does not match start tag <price> (line 3) (line 3, column 14)

Common use cases

Failing SOAP calls

Find the malformed element that makes a service reject a request.

Generated XML

Check XML produced by templates or mappings before sending it downstream.

Namespace problems

Spot prefixes that are used without being declared.

Frequently asked questions