XML to CSV Converter

Convert XML into spreadsheet-ready CSV with record-path selection, nested flattening controls, editable headers, and a local-only workflow built for Excel and Sheets.

Waiting for XMLRecord path: /catalog/productInput: 410 B
All processing happens locally in your browser. The XML stays on your device.

How to Use

  1. Paste XML into the input panel or upload a local XML file.
  2. Validate the XML or click Convert to let the tool detect repeated record candidates.
  3. Choose the record path that should become CSV rows, then adjust flattening or export options if needed.
  4. Review the table preview, rename or hide columns in the Fields tab, then copy or download the final CSV.

Related Tools

Frequently Asked Questions

How does this XML to CSV converter decide which XML nodes become rows?

The tool detects repeated XML element paths and suggests the best record candidates, then you choose one record path to export as CSV rows.

Can it handle nested XML arrays or repeated child elements?

Yes. Nested repeated children can be joined into one field, exploded into more rows, or reduced to the first item depending on the flattening mode you choose.

How are XML attributes mapped into CSV columns?

Attributes are included by default as prefixed columns such as @id so they stay distinct from child elements with similar names.

Is this XML to CSV conversion private?

Yes. XML parsing, record detection, flattening, preview, and CSV generation all happen locally in your browser.

What if my XML does not contain a repeated record collection?

The tool will warn you and can still export the root element as a single CSV row when no repeating record set is found.