ADD YOUR XML
Drop the XML file into the box above or choose it from your device.
XML → JSON / online converter
Convert XML to JSON for modern code and APIs. Repeating elements become an array of objects, with attributes as @_ fields.
01 / how to
Drop the XML file into the box above or choose it from your device.
JSON is already selected. Press Convert and wait a few seconds.
Save the finished JSON file. The original is deleted from our server.
02 / what you get
Kept
Good to know
03 / formats
XML
An XML (Extensible Markup Language) file stores structured data using custom, nested tags, similar to HTML. It's verbose but strict, which makes it reliable for automated systems — common in enterprise software, government forms, and legacy data exports.
Used in: Enterprise systems · Government forms · Legacy data exports
JSON
A JSON (JavaScript Object Notation) file stores structured, nested data as readable text — objects, arrays, and key-value pairs. It's the standard format for web APIs and app configuration, so you'll often get one from a developer, an API response, or an app's settings export.
Used in: Web APIs · App configs · Settings exports
04 / more
Have a different file? Open the main converter — it detects the format for you.