XlsConverter

XML to CSV with repeating elements as rows

Upload the XML file, choose the repeating element that represents one record, then convert. Each record becomes a CSV row, with child elements and attributes as columns.

XML

Encrypted, auto-deleted

Demo converts up to 100 rows, once.
Developer working at dual monitors with code editors at night

Product feeds, bank statements, government data and ERP exports are often XML. To analyze or import them, you need a table. XlsConverter finds the repeating records, turns child elements and attributes into columns and writes a clean CSV.

For a formatted workbook, use XML to Excel. To produce XML again from a table, see CSV to XML.

How to convert XML to CSV in three steps

  1. 1Upload the .xml file or provide an HTTPS URL to the feed.
  2. 2Pick the record element and review the detected columns.
  3. 3Convert and download the .csv file.

Repeated child elements inside one record

XML allows a record to contain several elements with the same name, for example an order with three line elements. A table needs a rule for that. You can join the values into one cell, create numbered columns or write one CSV row per repeated child, repeating the parent fields.

Namespaces make column names long and noisy. A feed with xmlns prefixes produces headers like g:price, which many tools mishandle. Stripping prefixes keeps names readable, as long as two namespaces do not use the same local name, which the converter checks and reports.

Large feeds are streamed rather than loaded into memory at once, so files with hundreds of thousands of records convert reliably. If the source is a JSON API instead, JSON to CSV applies the same flattening logic, and Excel to XML shows the opposite direction.

XML to CSV questions

How do I convert an XML file to CSV?

Upload the XML, select the repeating record element and convert. Each record becomes one CSV row.

Are XML attributes included in the CSV?

Yes, as columns prefixed with @, unless you choose to skip them.

How are nested XML elements handled?

They are flattened into dotted column names, and repeated children can be joined, numbered or split into rows.

Can I convert an XML product feed from a URL?

Yes. Provide the HTTPS URL as the source, once or on a schedule.

Is there a demo for XML to CSV?

There is a one-time demo for up to 100 records. Full files need a paid plan from 24 USD per month billed yearly.

Related converters

Convert full files and batches

Pro starts at $24 per month billed yearly. Cancel any time.

See plans