Skip to content
Jellykit

XML to CSV

Convert XML to CSV for Excel or Google Sheets. Repeating records are found automatically and nested elements become dotted columns. Free, runs in your browser.

Runs in your browser. Nothing is uploaded.

About XML to CSV

XML to CSV finds the repeating element in your document (the <book> in a <catalog>, the <item> in an RSS feed) and turns each one into a CSV row. Child elements and attributes become columns, and nested elements are flattened into dotted names like address.city.

Values are kept as text, so IDs and codes with leading zeros survive. Every column that appears in any record is included, and missing values are left empty.

How to use XML to CSV

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

How does it pick the rows?

It uses the largest list of repeated elements in the document. If nothing repeats, the single record becomes one row.

Are attributes included?

Yes, as columns named after the attribute. Untick the option to ignore them.

Is XML to CSV free and private?

Yes. XML to CSV is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all data tools →