Skip to content
DataTray

Free converter

XMLCSV

XML to CSV Converter

The plainest possible answer to an XML file: rows and columns, in a format everything reads. DataTray finds the repeating record element and flattens around it, without needing a schema.

Windows 10/11 (x64) · Free · No account

Drop in your filesCSV comes out UTF-8 with a BOM so it opens in Excel in columns.

Why convert

Flattening without a schema

Most tools that convert XML properly want an XSD, and most XML files in circulation do not have one. Inferring the record shape from the document is less rigorous and far more useful, because it works on the file you actually have.

  • Getting a product or pricing feed into a spreadsheet.
  • Converting a regulatory filing for review.
  • Turning an export from a system nobody maintains into something portable.
  • Preparing XML data for a database import.

How it works

Convert XML to CSV in a few clicks

  1. 1

    Open the XML

    The repeating element that represents one record is detected and shown; change it if it picked the wrong level.

  2. 2

    Choose your columns

    Attributes and child elements are listed as candidate columns. Drop what you do not need.

  3. 3

    Write the CSV

    Or Parquet, or a workbook — the target is your choice.

The details

XML to CSV, at a glance

Schema
Not required — the record shape is inferred
Attributes
Become columns alongside child elements
Namespaces
Handled; prefixes are preserved in column names
Output
CSV, TSV, Excel, Parquet, JSON

Questions

XML to CSV Converter, answered

More converters

Convert something else

Convert XML to CSV — free

Converting more than one file? Data Converter does whole folders at once, on your own machine.

Windows 10/11 (x64) · Free · No account

Runs on your own machine · No upload · No watermark