Terminal First Testing With Kane CLI
Natural language browser & mobile app tests right from terminal

This free tool allows you to parse XML, highlight syntax errors, and check DTD or XSD rules.
Paste well-formed XML. Optional DTD or XSD goes in the schema box.
Paste a DTD or an XSD. An internal DOCTYPE in the XML is also checked.
Parse XML
An XML parser reads an XML document and turns it into a tree of elements, attributes, and text. This free online XML parser runs in your browser, highlights syntax errors by line, and can check a DTD or XSD after the document is well-formed. You paste or upload XML and inspect the structure without installing a library.
Testers use it on SOAP responses, RSS feeds, Android manifests, and app config files when the raw markup is too nested to scan by eye. All processing happens in your browser. No data is uploaded.
Paste a document, optionally add a schema, then parse. The tree, highlighted errors, and schema messages all stay on this page. All processing happens in your browser and no data is uploaded.
Well-formed and valid are not the same test. The table below shows what each one checks.
| Check | Well-formed XML | Valid XML |
|---|---|---|
| What it asks | Do tags nest, close, and quote attributes correctly? | Does the document also match a DTD or XSD? |
| Engine on this page | The browser DOMParser, with the failing line highlighted | A client-side check of ELEMENT, ATTLIST, and common XSD types |
| When it runs | Every parse | After the document is well-formed, if a DTD or XSD is present |
| Typical failure | A mismatched tag or a missing closer | An extra child, a missing required attribute, or a bad type |
This parser is built for a quick look at a payload, not a full XML IDE. Here are the features of the XML parser:
People reach for an XML parser when a file looks legal but is hard to read, or when a schema should reject a field. Common uses:
TestMu AI maintains this parser as part of its free developer toolkit, the same team that runs tests on 10,000+ real devices and 3000+ browsers.
Parsing XML turns a raw document into a tree you can inspect. That check confirms tags nest correctly and that you can read elements, attributes, and text without guessing. Testers use it on API responses, config files, and exports before those files reach an application or a later formatter.
Read the highlighted line and the message under Output. The parser marks the first syntax problem with its line and column so you can fix a mismatched tag or a missing closer. After you edit the input, parse again. Schema messages appear separately when a DTD or XSD rejects an element or attribute.
Use the XML Prettify or XML Formatter tools on TestMu AI when you want indented markup instead of a tree. This parser focuses on structure, error location, and optional DTD or XSD checks. Pretty-print the same document after the tree looks right if you need a file you can read in a text editor.
Yes for typical payloads under a few hundred kilobytes. Paste the document, upload a .xml or .txt file, or load text from a URL. Auto Update waits a short moment while you type so large pastes stay usable. Very large dumps may feel slower because the tree is built in memory.
Yes. All processing happens in your browser. No data is uploaded to TestMu AI servers for parse, highlight, or schema checks. You can paste internal API responses or config files without sending them through a remote parser, which keeps those documents on the local page.
Yes. Paste a DTD or an XSD in the schema box, or keep an internal DOCTYPE in the document. After the file is well-formed, the parser checks element names, required attributes, allowed children, and common XSD types. Failures list a path and highlight the first matching line.
Well-formed XML follows syntax rules such as matching tags and quoted attributes. Valid XML is well-formed and also matches a DTD or XSD that names the allowed elements and attributes. This parser reports both. A document can parse into a tree and still fail a schema check.
Paste the markup, upload a .xml or .txt file, or load it from a URL. Click Parse XML, or leave Auto Update on. The tree appears under Output when the document is well-formed. Copy or download the parsed XML from that panel, not from the input box.
Yes. The page is usable in a mobile browser. Paste or upload XML, run Parse XML, and read the tree or the highlighted error line. Large files are easier on a desktop because the tree and the source view need more space, but the same checks run on a phone.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance