XML to CSV

Flatten repeating XML rows into CSV. Nested structures are lossy.

All processing on this page runs locally in your browser unless noted otherwise.

Open reverse

Input

Output

How to use

  1. Paste XML with repeating row-like elements.
  2. Convert to CSV and review the flattened headers.
  3. Copy or download CSV; open reverse for CSV → XML.

FAQ

Is CSV lossless?

No — nested XML is flattened. Prefer JSON/YAML when you need full structure.

Which nodes become rows?

The converter prefers the first array-of-objects child; otherwise it flattens the root object.

Related tools