Convert

Export XML to JSON (lossy; attributes use @_).

How to use

  1. Paste XML
  2. Choose target format
  3. Copy the result

FAQ

Is my input uploaded?

No. Processing stays in your browser. Nothing is sent to our servers.

Related tools

  • XML Format — Pretty-print XML via a JSON tree mapping (lossy for mixed content).
  • JSON Toolkit — Format, transform, query, merge, compare, and analyze JSON in one place — with tree, table, and diff views.
  • Convert — Export JSON to YAML, TOML, XML, CSV, NDJSON, or query strings — locally in your browser.