data · convert

XML to CSV

The most frequent element directly under the root becomes the rows; attributes and direct child elements become the columns (union, first-seen order); cell = attribute value or the element's text. Deeper nesting is flattened to text — it says so in the note.

Workspace Files stay on your device
A little guidance. A better result.

How to use XML to CSV

Repeated child elements → rows; attributes and child elements → columns; nested content flattened to text, and it says so.

  1. Prepare your input

    Paste XML with repeated child records.

  2. Use the workspace

    Review detected columns and rows.

  3. Check your result

    Check attributes and nested content in the CSV.

Know the limits

Nested XML is flattened to text and may lose structure; choose JSON for a richer mapping.

Where does my input go?

This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.

Read the privacy details →
Made for the work in front of you.Report a problem ↗