How to Use the XML to JSON Converter
This tool converts XML directly into JSON using the fast WebAssembly/JS engine within your browser. To get started, paste your XML on the left. The JSON will instantly generate on the right.
Reference: What each option does:
| Option | Description | Example Input | Example Output |
|---|---|---|---|
| Ignore Attributes | Drops XML attributes. | <a id="1">x</a> |
{"a": "x"} |
| Remove Namespaces | Strips soapenv: prefixes. |
<ns:user>Alice</ns:user> |
{"user": "Alice"} |
| Parse Numbers | Casts strings to numbers (Warning: removes leading zeros). | <zip>02134</zip> |
{"zip": 2134} |
| Force Arrays | Pass a comma-separated list of tags to force into arrays. | user |
{"user": ["Alice"]} |

