XML to JSON

Convert XML elements, attributes, and repeated nodes into indented JSON.

No upload

Choose an XML file.

How to convert XML to JSON

  1. Choose an XML file
  2. Start parsing and normalization
  3. Review the preview and download JSON

Input and output

Accepted input: One UTF-8 XML document without DOCTYPE, DTD, or external entity declarations.

Produced output: One JSON file formatted with two-space indentation.

XML structure and safety boundaries

The XML file is limited to 50 MiB, 100,000 rows, and 200 columns of normalized data. The download is limited to 100 MiB, and a run times out after 60 seconds. The table preview can be lossy for repeated or mixed content. DTD and external entities are rejected. Processing starts explicitly in this browser.