Validate XML well-formedness and check for unclosed tags or syntax issues.
Format and indent XML documents with proper nesting and tag alignment.
Edit XML files with a robust code editor featuring syntax highlighting, code folding, and auto-formatting.
View and explore XML data using a dedicated code viewer.
Convert XML documents and attributes into clean JSON objects.
Pretty print your XML data with proper indentation.
"Not well-formed" is one of the least helpful error messages in software, because on its own it tells you nothing about which of several thousand lines is at fault. This XML parser attempts a real parse and reports precisely where it stopped, along with what it expected — an unclosed element, a mismatched closing tag, an unquoted attribute value, or content after the root element. That converts a failing build or a rejected API request into a specific location you can fix. It is the tool for checking a hand-edited configuration file before deploying it, confirming that a generated document is structurally sound, or working out why one XML payload is accepted and another is not. Parsing uses your browser's own XML engine, so its behaviour matches what standard parsers do, and nothing is uploaded.
Well-formed means the syntax is correct — tags close, nesting is right, attributes are quoted, there is one root. Valid additionally means the document conforms to a schema such as an XSD or DTD. This tool checks well-formedness.
The usual causes are an unclosed element, a closing tag whose name does not match its opener, an unquoted attribute value, a bare & that should be &, or content appearing after the root element closes.
Yes. Prefixed names such as soap:Body are parsed normally, provided the corresponding namespace is declared.
No. XML requires exactly one root element, so a fragment with several top-level elements will be reported as not well-formed. Wrap it in a single container element first.
Only if they are also well-formed XML (XHTML). HTML permits unclosed tags such as <br>, which XML does not — use the HTML Formatter for HTML instead.
No. Parsing happens entirely in your browser and the document is never transmitted or stored.