
For checking an exchange, configuration file or service response before use, XML Validator identifies structural faults and the root.
Check an XML document for structural errors and inspect its root before integration or exchange. You get the result directly in your browser.
A developer receives an XML response from a service and wants to check that it can be used. They paste the content, run validation and inspect the root along with any errors. This prevents them from integrating a broken response into their application.
Everything runs in your browser: the XML document is parsed locally to check its structure. The content you provide is never uploaded, shared or stored.
Well-formed XML follows syntax rules, such as closed tags and a single root. Valid XML also follows a schema or business rules. This tool mainly checks well-formedness and shows the root element.
The result helps locate the problem, but the position may be approximate depending on the error. Use the message as a starting point and inspect the tags close to the reported area.
No, an XML document must have a single root. If your content contains several top-level elements, wrap it in a root tag before running validation again and checking the structure.