XML to JSON Converter
Convert XML documents into structured JSON instantly.
Three steps, no reading required.
Paste your input
Drop text, code, or data into the input pane — from an API response, a file, anywhere.
See it process
The result updates instantly as you type.
Copy the result
Grab the output with Copy or Download, or fix the error shown if the input is invalid.
Try it with a sample.
<note id="1"><to>Dev</to><from>DevUtilsNow</from><tags><tag>fast</tag><tag>free</tag></tags></note>
Upload & hope
- Sends your input to a server to process it
- Asks for an account after a few free uses
- Limits input size on the free tier
Runs where you are
- Processes everything inside your browser tab
- No account, ever
- No artificial size limit
Questions worth answering upfront.
No. Parsing and conversion run entirely in your browser. Your XML is never uploaded or stored.
Attributes are kept as keys prefixed with @, for example @id, so they don't collide with child element names.
Repeated child elements with the same name are collapsed into a JSON array, preserving their order.
No. XML has no types, so values are kept as strings to avoid guessing. Convert them in your code if you need numbers or booleans.
Yes. Every tool on DevUtilsNow is free to use with no account required.
People who use this also reach for
Guides that pair with this tool
How to Convert XML to JSON
How XML maps to JSON, how attributes and repeated elements are represented, and why values stay strings.
Need another tool?
36+ browser-based utilities — all free, all private, nothing to install.