What is the XML to JSON Converter?
Convert XML documents (RSS feeds, SOAP responses, sitemaps, config files) into clean JSON for JavaScript and APIs – or go the other way and turn JSON into well-formed XML. Attributes become @attributes, repeated elements become arrays and text content is kept.
How to use the XML to JSON Converter
- Choose the direction.
- Paste XML or JSON.
- Press Convert and copy the result.
Conversion rules
- Element attributes → "@attr": value
- Repeated sibling elements → JSON array
- Text inside an element with attributes → "#text"
This XML to JSON Converter is 100% free, needs no signup and runs privately in your browser – on phone, tablet or computer.
Last updated: · By NodifyTech