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.
Ctrl/⌘ + Enter to run
Input
Output
How to use
- Paste XML with repeating row-like elements.
- Convert to CSV and review the flattened headers.
- 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.