Convert XML to JSON

Convert well-formed XML into JSON. Attributes become @name fields and repeated elements become arrays.

Files stay on your device Free, no sign-up No watermark

How to use XML to JSON

  1. 1

    Paste XML or choose a file.

  2. 2

    Check the JSON.

  3. 3

    Copy or download it.

Good to know

  • The XML must have exactly one root element.

Your privacy: this tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone.

You might also need

All tools