Herramientas XML
XML validator
Try it
Parse XML and report errors (DOMParser).
Loading…
How to use this tool, examples, and related tips.
Paste your XML into the input field.
The tool parses the document and returns either a well-formed confirmation or a precise error message with line and character position.
Fix the flagged issue and re-validate until the document is clean.
XML validation checks a document for well-formedness — the baseline requirement that all XML documents must meet. A well-formed XML document has a single root element, all tags are properly opened and closed, elements are correctly nested, attribute values are quoted, and reserved characters in content are properly escaped. This tool checks well-formedness using the browser's native XML parser. It does not validate against a DTD or XML Schema (XSD) — for that, you'd need a server-side validator. Well-formedness is the first thing to verify; schema validation comes after.
Debugging XML parse errors — When an XML parser throws a vague error, paste the document here to get a precise error location.
Validating hand-written XML — Config files, SOAP payloads, and XML templates written by hand are prone to unclosed tags and quoting errors.
Checking generated XML — Verify that XML generated programmatically is well-formed before sending it to an external system.
Pre-flight checks in pipelines — Use as a quick sanity check on XML files before passing them to downstream processes.
Answers about this tool and how your data is handled.
Well-formed XML follows the basic syntax rules of the XML specification — correct nesting, closed tags, quoted attributes, and so on. Valid XML is well-formed AND conforms to a specific schema (DTD or XSD). This tool checks well-formedness only.
No. It checks well-formedness only, using the browser's native DOMParser. Schema validation requires a server-side tool.
Unclosed tags, overlapping element nesting, missing quotes around attribute values, unescaped & or < in text content, and multiple root elements.
No. Validation runs entirely in your browser using the native XML parser. Nothing is uploaded.
Yes — both are XML documents and this tool can check their well-formedness. It will not, however, validate them against the SOAP or RSS schemas.
Même catégorie d’abord, puis d’autres utilitaires.
Herramientas XML
Parse XML and report errors (DOMParser).