JSON to XML
Rewrite JSON files as XML. Drop in a batch and they all convert together.
Drop JSON files here
Everything happens on your device — your files are never uploaded.
How it works
- 1 Drop your JSON files.
- 2 Each one gets serialized to XML.
- 3 Download them one by one, or grab the whole batch as a zip.
Built with open source
- fast-xml-parser — Parses and builds XML. · MIT
Frequently asked
How are arrays handled? +
Each array item becomes a repeated element named after the parent key. So {items:[{a:1},{a:2}]} produces <items><a>1</a></items><items><a>2</a></items>.
How do I produce attributes? +
Prefix the key with @_ in the JSON. For example, {item:{"@_id":1,"#text":"x"}} becomes <item id="1">x</item>.