A structure you can read
Each element becomes a key, and sibling elements sharing a name become a list: the JSON follows the document tree.
Paste your XML or drop its file: elements, attributes and text become readable JSON, which converts back to XML without losing anything.
Nothing is transmitted, nothing is kept
The free result is complete
Unlimited with a free account
How it works
Step 01
Paste your XML, or drop the file that holds it.
Step 02
Choose whether numbers and booleans keep their type.
Step 03
Download the JSON, or copy it.
What sets it apart
Each element becomes a key, and sibling elements sharing a name become a list: the JSON follows the document tree.
An attribute becomes a key prefixed with @, and the text of an element that has some goes under #text: nothing gets mixed up, and converting back to XML puts them in place.
Drop them as they are, no conversion needed first.
Privacy
With this tool, what you paste or drop is not transmitted anywhere: not to us, not to any third party. We know neither its contents nor the file name.
Nothing is kept, because nothing reaches us.
Frequently asked
Another question? The contact address is at the bottom of the page.
Next
JSON, CSV, XML and YAML converter
Paste your data or drop its file, pick the target format, and leave with a clean file, ready to read back. No account, no watermark.
Convert JSON to CSV
Paste your JSON or drop its file: each object becomes a row, each field a column, ready to open in a spreadsheet.
Convert YAML to JSON
Paste your YAML or drop its config file: you leave with the same contents in JSON, and any indentation error pointed out at its line.
Convert CSV to JSON
Paste your table or drop your CSV file: each row becomes an object, named by the headers, with its numbers given back their type.
QR code generator
Make a QR code by typing its content, watch it draw with every letter, and download it as PNG or SVG. No watermark, no account, no expiry date.