Open a local file or use the input controls.
Files stay on your device
XML to JSON
Convert XML to readable JSON with explicit attribute and repeated-element rules, entirely in your browser.
Private browser workspaceInput: XML → Output: JSON
⌁
Your file never leaves this browser
Processing happens locally using browser APIs and on-device code. Closing this tab clears the working data.
How it works01 02 03
Done in three simple steps
Paste XML or open a UTF-8 XML file, then convert it.
Review the result, then download it.
Frequently asked questions
Does this tool upload my input?+
No. Your input is processed on your device using browser APIs and local code.
How are XML attributes and repeated tags represented?+
Attributes use @name, repeated child tags become arrays, and mixed text uses #text. Text and attribute values remain strings; namespace prefixes are retained in names.
What are the limits?+
1-million-character limit; DTDs and entities are blocked. Comments and mixed-content ordering are not preserved.