XML to CSV
Convert XML to CSV online. Pick the repeating element to use as rows; attributes and nested elements become columns. Free and private.
More options
XML
Stays in your browserCSV
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to CSV Viewer or CSV to JSON.
Free Online XML to CSV
Turn repeating XML elements into spreadsheet rows. The most repeated element is picked for you, or you can name the one to use. It gives developers a quick browser-based way to solve a focused xml to csv task before moving the result into a project.
How to use XML to CSV
Paste your data into the box on the left, or open a file, then press Convert. Each matching element becomes one row. Attributes become columns starting with @, and nested elements become dot-path columns.
Common mistakes
- XML with no repeating element: the root element is used as a single row.
- Choosing a row element that is nested inside another row: only the outermost matches are used.