XML to CSV
Turn an XML feed or export into rows and columns. Pick which elements become rows and choose the fields to include.
Convert XML records to CSV
- Paste XML or choose a local XML file, then analyze it.
- Choose the element path for rows and select the columns.
- Review the table and copy or download the CSV.
How the table is formed
Each occurrence of the selected element path becomes one row.
Repeated child fields have numbered columns. Fields in different XML namespaces stay separate.
You can carry an attribute from an ancestor into each of its selected rows.
Build a table from a feed
In the loaded example, /feed/group/product makes two rows. The source field ancestor[1]/@code gives product 001 the group code A and product 002 the code B. The archived product is outside that path.
For an item feed, choose the item path and select the name and link as columns.
XML and CSV limits
Choose one valid UTF-8 XML 1.0 document up to 2 MiB.
The preview distinguishes missing and empty cells. Both are blank in CSV.
Local conversion
Your XML and CSV stay on your device. Reloading clears them.
XML to CSV questions
Sources
Related tools
JSON to TypeScript
Infer a TypeScript type alias from a JSON sample, then review, copy or download the code.
Open tool — JSON to TypeScriptJSON to YAML
Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.
Open tool — JSON to YAMLYAML to JSON
Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.
Open tool — YAML to JSONJSON Diff Checker
Compare JSON values and see added, removed and changed paths.
Open tool — JSON Diff CheckerXML to JSON
Convert XML to an ordered JSON tree with attributes, namespaces and mixed content.
Open tool — XML to JSONJSON Pointer Resolver
Look up a value in JSON and copy its pointer, URI fragment or exact JSON.
Open tool — JSON Pointer ResolverJSON Lines Converter
Convert JSON Lines and JSON arrays in both directions while keeping the original number spellings.
Open tool — JSON Lines ConverterTOML to JSON
Convert TOML configuration to JSON with documented number and date handling.
Open tool — TOML to JSONYAML Formatter
Format YAML indentation and copy the checked result while retaining comments and source details.
Open tool — YAML FormatterXML Formatter
Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.
Open tool — XML FormatterJSON Formatter & Validator
Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.
Open tool — JSON Formatter & ValidatorXML to Excel
Choose XML records and fields, then save a local Excel workbook.
Open tool — XML to ExcelJSON to Excel
Convert JSON records to an Excel workbook while keeping long IDs exact.
Open tool — JSON to Excel