XML to JSON

Use a local parser for xml to json. The dependency bundle must be built before use.

XML to JSON workspace

Up to 200,000 input characters, depth 40 and 20,000 JSON nodes. Processing stays on this device; no input is stored. Use an example to inspect the accepted input structure.

Enter input or use the example.

How to use XML to JSON

Enter source text or use the example, then select Run tool. Review the result before copying or downloading. This candidate still requires full engine and browser acceptance.

Supported workflow and acceptance requirements

Safe XML parsing without network/DTD expansion. Explicit consistent mapping of attributes, repeated child names, text, empty elements, namespaces; document lossless limitations.

Limits and local processing

XML names retain namespace prefixes. Attributes use @attributes, repeated siblings become arrays, leaf text stays a string and mixed text uses #text. Comments and mixed-content ordering are lossy. DTD/entity declarations are rejected. Input is processed on this device without uploads. Browser workers and Web Crypto are required for the applicable tools; clipboard access depends on browser support.

Related tools