tools.studio

XML to JSON

Read XML and write it back out as pretty-printed JSON, a pile of files at once.

Drop XML files here

Everything happens on your device — your files are never uploaded.

How it works

  1. 1 Drop your XML files.
  2. 2 Each one is parsed and pretty-printed as JSON.
  3. 3 Download each result, or grab the whole batch as a zip.

Built with open source

Frequently asked

How are attributes represented? +

Attributes sit on the parent object with an @_ prefix (like @_id) so they won't clash with child element names.

What about repeated elements? +

Repeated child elements turn into arrays. A single occurrence stays an object. Check the output to confirm the shape is what you want.