JSON to XML
Pick file or take photo
More tools
- XML to JSONConvert an XML document to structured JSON in your browser.
- JSON to CSVTurn a JSON file into a CSV that opens in Excel and Google Sheets.
- CSV to JSONTurn a CSV file into JSON, using the first row as the keys.
- CSV to ExcelConvert a CSV file into an Excel XLSX spreadsheet you can edit.
- Excel to CSVTurn the first sheet of an Excel .xlsx file into a CSV file.
- Font converterConvert fonts between TTF, OTF and WOFF for use on the web.
- Open winmail.datGet the real attachments out of a winmail.dat file.
- WhatsApp chat to ExcelConvert a WhatsApp chat export to a spreadsheet with dates and senders.
- PDF to PNGConvert PDF to PNG online and save the converted file.
- PDF to EPUBConvert PDF to EPUB online and save the converted file.
- PDF to MarkdownTurn a PDF into clean Markdown with its headings, lists, tables and links.
- Merge PDFCombine PDF files into one document, in the order you choose.
How to prepare XML for an importer
Before converting JSON for another system, compare your field names and hierarchy with a sample XML file that system accepts. Pay attention to the root element and how repeated records need to appear.
Open a small converted file in the receiving application. Well-formed XML can still fail an application's schema, especially when it expects a specific order or element name.
FAQ
Does a browser preview tell me the XML satisfies an import schema?
It shows that the document can be opened. To check a required schema or ordering, validate against that schema or import a sample into the destination.
How do I convert JSON to XML?
Choose the JSON file and press Convert to XML. Each key becomes an element inside a root element.
How are lists written?
Each item repeats the element named after its key. A list at the top level becomes item elements inside root.
What if a key is not a valid XML name?
Characters XML does not allow are replaced with an underscore, and a name that starts with a digit gets an underscore in front.
Does it write attributes?
No. Every value is written as an element.
It says the JSON could not be read. Why?
The file is not valid JSON. Common causes are a trailing comma, single quotes, or a missing bracket.
Is my file uploaded?
No. The file is converted inside your browser and never sent to a server. It is free.