File & Data
Convert XML to JSON Without Uploading Your File
This guide explains how XML to JSON keeps documents on-device and which safety rules still apply.
Ready to try the tool this guide describes?
Local parsing
The shared XML security module decodes UTF-8, rejects DOCTYPE, and parses with DOMParser in the browser.
What is not supported
External entities, non-UTF-8 encodings, and documents deeper than 50 levels are refused.
XML to JSON Without Uploading FAQ
- Why reject DOCTYPE?
- DOCTYPE and DTD constructs are a common vector for entity expansion attacks, so they are blocked.
- Can I paste XML instead of uploading?
- Yes. Paste mode uses the same security checks and mapping rules.
- Is processing private?
- Yes. Conversion runs locally in your browser and files are not uploaded to Looty Tools servers for this workflow.
- What file size limit applies?
- Inputs must be 25 MB or smaller unless a tool-specific limit says otherwise.
- Can I copy the result?
- Yes. After a successful conversion you can copy the output text or download the file.
Related guides
- How to Convert XML to JSONConvert XML into formatted JSON locally with a deterministic mapping for elements, attributes, and repeated siblings.
- XML Elements Attributes Arrays to JSONUnderstand @attributes, #text, sibling arrays, empty elements, and namespace prefix preservation in the JSON output.
- Browser-Based File PrivacyUnderstand local browser processing, when files stay on your device, practical privacy checks, and how Looty Tools discloses different processing models.