XML to JSON
Parse XML elements and attributes into a JSON representation.
№ 008Runs locally
What this tool does
XML to JSON. Parse XML elements and attributes into a JSON representation.
When to use it
Use it to move XML data into JavaScript tools or JSON-based APIs.
How to use
- Try this sample input first: <item><name>Pen</name></item>.
- Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
- Run the tool and read any validation or status message. Correct the input format before trying again if needed.
- Check whether the result matches the example output: {"item":{"name":"Pen"}}. Then copy or download it.
Your input and files are processed in this browser. They are not uploaded by this toolbox.
Input and output example
<item><name>Pen</name></item>{"item":{"name":"Pen"}}