Skip to the converter

XML to CSV converter, without the upload.

Turn XML data files into CSV. It is converted in your browser, so the file never leaves your device.

Drop XML files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert XML to CSV

  1. Add your XML data files

    Drop XML files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. CSV is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the result. When one file produces several CSV files they come as a single ZIP.

Why ToAny

  • Private by construction

    The XML to CSV converter is part of this page and runs inside your browser. Your data files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

XML to CSV: what to expect

XML is verbose and tedious to work with in most modern tooling. CSV is plain text that every spreadsheet, database and script can read. XML is at home in document-like data, feeds and enterprise systems; CSV is the usual choice for moving tabular data between systems.

One XML can produce several CSV files; when it does, they are offered together as a ZIP download.

A list of records becomes a table with one row per record. Nested keys turn into columns named like address.city, list items into columns like tags.0, and a key that only some records have leaves empty cells in the others. If the top level holds several lists of records, each becomes its own table, saved as a separate file; a document that is a single object becomes one row.

XML vs CSV

XML

XML data

XML wraps data in nested tags with attributes. It is verbose but strict, and remains the basis of RSS feeds, SVG, Office documents and many enterprise interfaces. Its attributes and mixed content have no exact equivalent in JSON.

Opens in Any text editor or browser

XML converter
CSV

CSV spreadsheet

CSV is a table written as text: one row per line, values separated by commas. Every spreadsheet and database can import and export it, but it holds one sheet only and no formatting, formulas or data types.

Opens in Excel, Google Sheets, Numbers, databases and any text editor

CSV converter
XML compared with CSV
XMLXML dataCSVCSV spreadsheet
Stands forExtensible Markup LanguageComma-Separated Values
TypeStructured data (text)Plain-text table
CompressionNoneNone
Introduced1998, by the World Wide Web Consortium (W3C)The 1970s, by no single author (described in RFC 4180)
Opens inAny text editor or browserExcel, Google Sheets, Numbers, databases and any text editor
Best forDocument-like data, feeds and enterprise systemsMoving tabular data between systems
File extension.xml.csv

Questions

Are my data files uploaded anywhere?

No. The XML to CSV conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting XML to CSV?

The values are kept. Anything CSV has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several XML files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert XML to CSV on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the XML file, press Convert and save the CSV. There is nothing to install.

Is there a file size limit?

Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.