Paste XML and get JSON instantly. Choose how attributes, repeated elements, and namespaces are handled. Everything runs in your browser.
This converter turns XML into JSON so you can use the result in APIs, front-end code, or storage. Attributes become @attr keys, and repeated elements become arrays when you keep "Arrays" enabled. Validate your XML first with our XML Validator; check or format the result with the JSON Beautifier.