Options

Convert XML to CSV

Paste your XML and this tool converts it to CSV instantly, right in your browser. XML is a verbose, tag-based markup format still common in enterprise systems, SOAP APIs, feeds and document formats. CSV is a flat, tabular format that opens directly in Excel, Google Sheets, and database import tools.

The conversion is completely client-side: there's no upload, no queue, and no account. Big files are converted in the background with a Cancel button, the options for the lossy steps are one click away, and your last conversion is remembered.

Looking for a different conversion? See all format converters.

Related conversions

XML to CSV Converter — frequently asked questions

How do I convert XML to CSV?
Paste your XML, or open or drop a file, and the CSV appears instantly. Copy it, download it (named after your file), or open it in another tool. Errors point to the line and column. Everything happens in your browser.
What if my XML is nested?
Nested objects become dotted columns like address.city, or, if you choose, JSON text in one cell; lists are written as JSON text or numbered columns. Records with different keys still get every column, and cells starting with = + - or @ get an apostrophe so a spreadsheet won't run them as formulas (you can turn that off).
How are attributes and repeated elements handled?
Attributes become keys starting with @ (you can change the prefix), and an element's text sits under #text when it also has attributes. Repeated elements become lists; tick "Always use lists" to make every element a list so the shape doesn't change between files. Values like 007, 0x1F and 1.0 stay text.
Is my data uploaded to a server?
No. The conversion runs entirely in your browser — your data never leaves your device, so it's safe to convert configuration, API payloads, and other sensitive files. You can even go offline once the page has loaded.
Is this converter really free?
Yes. No sign-up, no payment details, no file-size paywall, and no watermark on the output.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.