XML to CSV Converter

Paste XML below to flatten it into CSV rows - a quick way to pull data out of an XML export or feed and get it into a spreadsheet.

Attributes and nested elements are flattened into dotted column names, matching the same logic used by the JSON to CSV converter.

Secure & Private: Your data is sent to our server only to perform the conversion, then immediately discarded — nothing is logged or stored.
Input Stats Lines: 0 Words: 0 Chars: 0 Size: 0 KB
Output Stats Lines: 0 Words: 0 Chars: 0 Size: 0 KB
System Status: Ready

Preview

Input

Input statistics are shown in the status bar above.

Output

Output statistics are shown in the status bar above.

Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.

Frequently Asked Questions

What if my XML has deeply nested elements?

Deep nesting is flattened into dotted column names (e.g. order.customer.city); very deep or highly irregular structures may produce many sparse columns.