XML to CSV Converter
Finds the repeated element in an XML document, treats it as a row, and flattens its children and attributes into columns.
Loading the tool…
How to use this tool
- Paste XML that contains a repeated element — the thing you want one row per.
- Choose the delimiter your spreadsheet or loader expects.
- Select Convert to CSV and check that the row count matches the number of records you expected.
- Download the CSV, or copy it straight into a spreadsheet.
What xml to csv does
A table hidden in an XML document is almost always the element that repeats: a catalog of <book> elements is a table of books, and an <orders> wrapper holding <order> elements is a table of orders. This converter looks for that repeated element, uses it as the row, and turns each descendant into a column with a dotted name so nesting survives.
An empty cell here means the element was absent from that record, which is not the same as a value that is present and empty — CSV cannot tell those apart, and neither can anything reading the file afterwards. If that distinction matters to you, convert to JSON instead, where a missing key and a null are different things.