Skip to content
Input
XML
Limit
1 MiB
Runtime
Browser

Extract repeated XML records into CSV

Select repeated record elements with the safe child-path subset and flatten their direct scalar child values into a reviewable CSV table.

Local processingNo sign-upNo network access

Convert XML to CSV

Inputs are limited to 1 MiB and stay in this browser tab.

Paste or edit the source. Tool Swim does not upload or save it.

Use the documented / or // element-step subset, such as /catalog/book. This is not XPath.

CSV table

Nothing is placed in a URL, account, or remote log.

What this tool does

XML 1.0, bounded, and local

XML trees do not always form tables. This converter is intentionally narrow: a selector identifies repeated record elements, direct scalar children define columns, and nested or mixed structures require review rather than silent flattening.

The record path defines row boundaries

Each matched element becomes one row. Column discovery follows the bounded extraction contract, and missing direct values remain distinct from invented defaults.

CSV escaping is part of correctness

Fields containing commas, quotes, or line breaks are quoted and embedded quotes are doubled. Review spreadsheet-bound data for formulas because local conversion does not make untrusted cell text safe to execute.

Primary references

Questions and answers

Related XML tools