Parse XML documents and convert them to JSON format. Handles attributes, namespaces, and CDATA sections. Outputs clean, properly typed JSON ready for JavaScript consumption.
Key Features
Converts XML element hierarchies into intuitive JSON objects and arrays
Preserves XML tag attributes using configurable prefix notation (e.g. @attribute)
Extracts CDATA blocks and text values cleanly into JSON properties
Outputs formatted, ready-to-consume JSON for modern web applications
How to Use
Paste your XML source markup into the input editor.
Configure options such as attribute handling and array grouping.
Click "Convert to JSON" to parse the document.
Examine the resulting JSON object tree.
Copy the formatted JSON or save it for API integration.
Privacy notice: when you run this tool, your input is sent over HTTPS to our server, processed in memory and returned. It is not stored or logged. Avoid pasting live secrets such as private keys or passwords.