About this tool
Choose XML with a container root and one direct child per record. Child fields become columns, attributes use @ prefixes and nested values become JSON text in cells. Root attributes are omitted. Values and headers use standard CSV quoting without added prefixes.
How to use XML to CSV
- Paste XML with records directly beneath its root element.
- Select Convert to CSV to combine record fields into columns.
- Download the CSV file and inspect it in a spreadsheet.
Frequently asked questions
Which XML elements become rows?
Every direct child of the root becomes a row. This tool does not search for records at deeper levels.
How are nested elements exported?
Nested objects and repeated elements are serialized as JSON text inside a single CSV cell.
Are DTDs supported?
DTDs and entity declarations are rejected. Remove them before converting the XML.