Debugging a SOAP or SAML payload
Enterprise integrations fail on unescaped ampersands inside attribute values more often than on anything conceptually difficult. Validation points at the exact offset.
Validates XML syntax using the browser's built-in DOMParser.
—Validates XML syntax using the browser's built-in DOMParser.
<root><item>1</item></root>
Valid XML ✓
Well-formed documents pass; malformed ones report a parser error.
Valid means well-formed XML; it does not validate against a schema (DTD/XSD).
Your input is processed entirely in your browser and never sent to a YAS server.
API automation is not supported for this tool. Uses the browser DOMParser — no server XML parser is bundled by design. This tool intentionally cannot be executed through the YAS API (server-side).
This tool runs in your browser and cannot be executed through the YAS API. Uses the browser DOMParser — no server XML parser is bundled by design.
The document is parsed with the browser's built-in DOMParser in XML mode, which enforces well-formedness as defined by the XML 1.0 specification: exactly one root element, every start tag matched by an end tag in the correct nesting order, attribute values quoted, entities either predefined or declared, and reserved characters escaped. A parser error produces a parsererror element whose message carries the line and column.
Well-formedness is not validity in the XML sense. A well-formed document obeys the grammar; a valid document additionally conforms to a DTD or XML Schema that defines which elements may appear where, in what order and with what content types. This tool checks the first, which is what almost every 'invalid XML' error in practice turns out to be.
Enterprise integrations fail on unescaped ampersands inside attribute values more often than on anything conceptually difficult. Validation points at the exact offset.
Maven POMs, Android manifests, Spring contexts and .csproj files break builds with unhelpful errors when a tag is left unclosed.
RSS, Atom and XML sitemaps must be well-formed before a consumer will read them. The Sitemap Validator adds sitemap-specific schema checks on top.
Copy-paste through chat and issue trackers introduces smart quotes and stripped escapes; validation identifies the damage immediately.
What this tool deliberately does not do, and where it will disagree with other implementations.