Convert JSON to XML Online
Convert JSON to XML online, free and private: your data never leaves your browser. Paste a JSON array of objects or drop a .json file, edit in a real spreadsheet grid, then export XML in element or attribute mode with custom tag names and pretty-print.
Drop a CSV or Excel file here
CSV · XLSX · XLS · XLSM · XLSB
Ready to download as a binary file.
How to convert JSON to XML
Three steps from JSON to well-formed XML.
1. Paste JSON
Paste an array of objects, a 2D array, a keyed object or JSONLines, or drop a .json file.
2. Edit in the grid
Fix values, reorder columns, add rows. The output updates in real time as you edit the spreadsheet.
3. Copy the XML
Copy the XML or download it as a file. Your data never left your browser.
Need this conversion in your own app?
The file parsing behind this page is powered by TabularJS: a zero-dependency JavaScript library that converts spreadsheet files to JSON in Node.js and the browser. 16+ formats, formulas, styles and merged cells included.
Frequently asked questions
Is this JSON to XML converter free?
Yes. No account, no sign-up, no watermark. Open the page and start converting.
Is my data private?
Yes. Everything runs in your browser. Your JSON is read and processed on your device. Nothing is uploaded, nothing is logged.
Which JSON input shapes are accepted?
An array of objects (most common), a 2D array, a keyed object, and JSONLines (one JSON object per line). The tool detects the shape automatically.
What is the difference between element and attribute mode?
In element mode, each column value is wrapped in a child element named after the column header. In attribute mode, each column becomes an attribute on the row element.
Can I customize the root and row element names?
Yes. Use the Root tag and Row tag fields to set any valid XML element name. They default to rows and row.
Can I embed this converter in my own app?
Yes. The engine that powers this page is the TabularJS JavaScript library. You can embed it in React, Vue, Angular or plain JavaScript.