The XML will not parse and the error is unhelpful
A missing closing tag, a misplaced attribute, or a stray character in a config or feed can break an entire import with a message that points nowhere useful. Pretty-printing the document is often the fastest way to spot the structural problem by eye.
Format and validate
The XML Formatter indents your document for readability and checks well-formedness, flagging where the structure breaks. Paste the raw XML, get a clean tree, and fix the offending node before it hits a strict parser.
When the data is JSON instead
Many APIs speak JSON rather than XML. If that is your case, the JSON Formatter & Validator does the same job for JSON — pretty-print plus validation — so you are covered whichever format arrives.
Typical scenarios
- Debugging a SOAP response or an RSS/Atom feed.
- Cleaning up a hand-edited configuration file.
- Confirming a document is well-formed before a batch import.