logo-kertas

Home / Office Tools / Data / XML → CSV

XML to CSV: convert repeating XML to a CSV table

Paste XML with repeating elements. Each element becomes one CSV row.

XML

CSV

Your data never leaves this browser.

Why use this XML to CSV tool?

  • Automatic pattern detection. The tool recognizes the row pattern on its own. No manual mapping needed.
  • Nested tags become columns. Tags inside tags turn into separate columns automatically.
  • Direct download. Download the CSV result straight as a file.

How to convert XML to CSV

  1. Paste your XML in the left column.
  2. Watch the CSV result appear in the right column.
  3. Click Copy to copy it, or Download to save it as a .csv file.

When you need this tool

A legacy system or API still sends data as XML, but you need to analyze it in Excel or Google Sheets.

Product feeds and sitemaps in XML format become easier to scan once converted to a table.

Frequently asked questions

What XML structure can this tool convert?+

XML with repeating elements that share a tag name as children of one root, for example several <item> tags inside <items>. Each repeating element becomes one table row.

What if my XML has no repeating elements?+

The tool treats the whole document as a single row. Each child tag becomes one column.

Are XML attributes converted too?+

Not yet. The tool reads only the text inside tags. Attributes on a tag, like id="1", aren't supported yet.

Is my data uploaded to a server?+

No. The conversion runs in your browser from start to finish.

Other tools you might need