XML to CSV Converter

Paste an XML file — a product feed, an export or an API response — and turn its repeating records into CSV rows for Excel or Google Sheets. Attributes and nested elements become columns automatically.

Runs in your browserUpdated

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the XML to CSV Converter

  1. Paste your XML or drop it from a file.
  2. The repeating record element is detected; pick another one from the list if needed.
  3. Check the table preview, then copy or download the CSV.

How records and columns are found

The converter looks for the element that repeats most often under the same parent — <item> in an RSS feed, <product> in a shop feed, <row> in an export — and makes each one a CSV row. Child elements become columns, attributes become columns prefixed with @, and deeper nesting is flattened with dots: price.amount, price.@currency. Repeated children get numbered columns.

Opening the CSV in Excel

The CSV is UTF-8 with proper quoting, so commas, quotes and line breaks inside values are safe. If Excel puts everything in one column, choose the semicolon delimiter — Excel in many European locales expects it — or import the file with Data → From Text/CSV.

Private by design

Conversion runs entirely in your browser — your code is never uploaded, so it’s safe for proprietary projects.

Tools that pair well with the XML to CSV Converter

  • XML to JSON — Turn XML — API responses, RSS feeds, SOAP messages, sitemaps or config files — into clean JSON you can use in JavaScript, Python or any REST API.
  • JSON to CSV — Turn a JSON array into a spreadsheet-ready CSV.
  • XML Formatter — Turn minified or messy XML into clean, indented markup and check that it is well-formed — for feeds, sitemaps, SOAP messages, configs and SVG.
  • JSON to Excel — Turn a JSON array into a real Excel workbook.

Frequently asked questions

How do I convert an XML feed to Excel?
Paste the feed, check the preview, download the CSV and open it in Excel. Choose the semicolon delimiter if your Excel uses a comma as decimal separator.
What happens to nested XML?
Nested elements are flattened into columns with dotted names, such as address.city. Repeated child elements become numbered columns.
Is there a size limit?
No fixed limit — files of several megabytes convert in your browser. Very large files depend on your device’s memory.
Can I install XML to CSV Converter as a web app and use it offline?
Yes. XML to CSV Converter is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools