Convert XML documents into readable JSON for APIs, configuration, feed debugging, and data cleanup. Attributes are stored under @attributes and text content under #text when needed.
XML is common in feeds, legacy APIs, office exports, build files, and enterprise integrations. JSON is often easier to inspect in modern web tools, scripts, and API clients, so converting XML to JSON can make the structure easier to compare and reuse.
XML attributes and repeated child elements do not map perfectly to plain JSON keys. This converter keeps attributes in a predictable object and turns repeated elements into arrays so the output remains practical for debugging.
The conversion runs in the browser, which is useful for configuration snippets, sample payloads, and private data that should stay on your device.
Related tools: JSON to XML · XML Formatter