Skip to content
Your data never leaves your browser

XML to CSV

Hierarchical data, flattened. For spreadsheet people.

Input
Output

What this does

DEVS: DOMParser extracts repeating child elements, flattens attributes and text into columns. Client-side only.

Paste XML, get CSV. Repeating sibling elements become rows. Child elements and attributes become columns.

Common use cases

Getting XML data into a spreadsheet for analysis. Migrating away from XML-based systems. Converting XML reports into something filterable and sortable.

Things to know

XML is hierarchical. CSV is flat. This tool takes repeating sibling elements and flattens each one into a row. Works best with uniform, list-style XML. Deeply nested XML won't flatten cleanly into two dimensions.

Privacy

Converted entirely in your browser. Your XML files never leave your machine.