Convert XML into JSON with attribute-handling options, entity safety and line-numbered errors.
Paste XML and the tool converts elements, attributes, text and CDATA into JSON — choosing whether attributes sit alongside children or under a reserved key — then pretty-prints the result for copy or download. Malformed XML produces a line-numbered error, and no external entities are ever fetched. All parsing is local to your tab.
Common questions and helpful answers about this utility.