XML to JSON

Input
Output

XML to JSON Converter

Paste XML and get JSON you can actually work with. Repeated elements become arrays, attributes are kept, and numbers and booleans can be detected or kept as text.

How to use it

  1. Paste XML or open an .xml file.
  2. Choose whether to detect numbers and booleans.
  3. Copy or save the JSON.

What it does

Questions

What happens to XML attributes?
They become keys starting with @, like @id, so no data is lost.
Is my data uploaded?
No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.

More JSON tools

Bracely has more than 60 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy