Skip to main content
HandyWeb

XML to CSV Converter

Turn an XML file into a CSV table for Excel, or CSV into XML. Each repeated element becomes a row, and you are told if any data gets lost.

Direction
0 characters0 bytes
0 characters0 bytes

The most common child of the root becomes a row. Each attribute (@id) and each child element becomes a column. Repeated children are joined with “; ”.

How to Use It

  1. Choose the direction.
  2. Paste the XML or the CSV.
  3. Read the output and any warning, and copy the output.

Questions and Answers

Why is part of my XML missing?

CSV has rows and columns only. Nested elements are reduced to their text, and elements without the row name are not read.

Good to Know

Flat tables only. XML that is deeper than rows and columns loses its structure in CSV, and the tool warns about it. Namespaces and comments do not survive.

Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)