XML to JSON
Turn XML into JSON. Attributes become @_ keys, repeated elements become arrays, and numbers and booleans are typed automatically.
Paste or open a .xml file, fix any error at the line shown, then copy or download the .json result. Everything runs in your browser.
Other conversions
JSON to YAML · YAML to JSON · JSON to XML · JSON to CSV · CSV to JSON · JSON to TOML · TOML to JSON