XML to JSON Converter
Convert XML data to JSON format in your browser using the DOMParser API. Free, online, no upload, fully private.
Local processingHow to Use
Enter your input above. The result updates automatically. Use the copy button to copy the result.
Privacy
All processing happens in your browser. Your data is never uploaded to any server.
FAQ
Is my data uploaded?
No. Conversion happens locally in your browser using the built-in DOMParser. Your data stays private.
Are XML attributes preserved?
Yes. Attributes are included in the JSON output prefixed with an @ symbol to distinguish them from child elements.