XML to CSV

Turn XML records into CSV.

Loading tool…
Try next →JSON FormatterFormat and validate JSON.

About XML to CSV

XML to CSV takes a simple list of repeated XML records and turns it into CSV, with one row per record and a column for each field. It is useful when you have XML export data and you want it in a spreadsheet or a CSV-based tool.

The conversion happens entirely in your browser, so the XML you paste is read and turned into CSV on your own device and never uploaded to a server. It is free, needs no account or sign-up, has no usage limits, and there is nothing to install.

Frequently asked questions

Is it free and account-free?
Yes, it is free with no account or sign-up and no usage limits. There is no watermark or restriction on the CSV you get.
Is my XML uploaded anywhere?
No. The data is parsed in your browser, so your XML stays on your own device and is never sent to a server.
How do I use it, and what does the CSV look like?
Paste XML that contains a repeated record element, and the tool produces CSV with a header row of field names and one row per record. You can copy the CSV out or save it as a .csv file to open in a spreadsheet.
What kind of XML does it expect?
It works best on a flat list of similar records, such as repeated item or row elements that each hold the same simple fields. That shape maps neatly onto rows and columns.
What are its limits?
Deeply nested XML, attributes, and records with different fields do not map cleanly to a flat table, so the result may be incomplete for complex documents. For simple, repeated records it works well, but very structured XML may need reshaping first.