Paste XML and get clean JSON. Attributes, nested elements, CDATA — all handled.
Couldn't parse XML
XML attributes become JSON keys prefixed with @. For example:
<plan currency="INR"><amount>1424</amount></plan>
becomes
{ "plan": { "@currency": "INR", "amount": "1424" } }Repeated tags with the same name automatically become a JSON array. Mixed content (text alongside child elements) puts the text under a #text key.