The browser repairs parseable HTML and serializes it using XML-compatible element and attribute syntax.
CONVERT HTML TO XML
Convert HTML into well-formed XHTML-style XML with quoted attributes, explicit namespaces and self-closing void elements.
TESTED & REVIEWED
WHY USE IT
The browser repairs parseable HTML and serializes it using XML-compatible element and attribute syntax.
Receive an XML declaration and an XHTML namespace suitable for inspection or further transformation.
Prepare web content for XML pipelines, feeds, archives, tests and systems that require stricter markup.
HOW IT WORKS
Paste a complete HTML page or fragment.
The browser parses the HTML and serializes a well-formed XHTML document.
Copy or download the XML and check it against any schema required by the destination system.
COMMON QUESTIONS
HTML has browser-defined elements and forgiving parsing rules. XML requires well-formed syntax, exact nesting, quoted attributes and explicitly closed elements.
No. The output is XHTML-style XML that represents the parsed document. It does not invent a domain-specific schema or data model.