XML to JSON Converter
Paste XML and convert it into readable JSON with attributes and repeated nodes preserved.
Paste XML into the input box, then select Convert to JSON. The output is formatted with two-space indentation for easy reading.
Use the copy or download controls when you want to move the result into an editor, API client, or documentation.
An XML element like <price currency="USD">19.99</price> becomes a JSON object with an @attributes property and a #text value.