XML to JSON
Convert XML to JSON while keeping namespaces, attributes, text, and repeated children in order.
Conversion Progress
Open XML
XML Preview
Showing the beginning of the XML.
JSON Settings
Layout changes the file’s spacing only.
How XML Maps to JSON
- Names
- Local name, namespace URI, and prefix
- Attributes
- Separate name and string value records
- Mixed content
- Ordered children, including repeats, text, CDATA, and comments
Text values stay strings. The XML parser resolves built-in entities and applies XML whitespace rules.
JSON Ready
JSON Preview
Showing the beginning. Download to get the complete JSON.