Free Online XML ↔ JSON Converter
XML attributes are prefixed with @ in JSON by default. Change the prefix in the options above. For example <tag id="1"> becomes {"@id":"1"}.
CDATA sections are extracted as plain text. Namespace prefixes (e.g. ns:tag) are preserved as-is in the JSON key name, so your data round-trips cleanly.
Sibling elements with the same tag name are automatically grouped into a JSON array. Enable Compact single-child arrays to keep single items as objects rather than wrapping in a one-element array.
Also from ZapTools
Free business tools for freelancers & small teams