XML to CSV

Flatten repeated XML records into CSV rows with one column per field.

Convert XML to CSV

Records: — · Status: —
Parsing runs locally in your browser. Nested elements use dotted column names and repeated elements become the records.

How to use the XML to CSV

  1. Paste XML with repeated record elements into the input box.
  2. Press Convert to CSV to flatten the records into rows.
  3. Copy the CSV output with the Copy CSV button.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online xml to csv.

Paste your XML into the input box and press Convert to CSV. The header row and record rows appear in the output box.
The tool picks the repeated child element with the most entries, so a list of row elements becomes the records of the table.
Leaf element names become column names, and deeper elements use dotted names such as owner.name to avoid clashes.
Attributes are kept as extra columns whose names start with an at sign, for example at sign id for an id attribute.
Yes. Named entities and numeric character references are decoded, so text shows the real ampersands and angle brackets.
Text that sits next to child elements is ignored, because the table needs one clear value for each column.
A repeated element inside one record is joined into a single cell separated by semicolons rather than adding more columns.
No. Parsing happens entirely in your browser and your file never leaves your device.
Yes for flat records. Send the CSV through the CSV to XML tool to rebuild one element per column.
Yes. It is completely free, unlimited and works in any modern browser without an account.

Last updated: October 10, 2026