Favorite places of your favorite city
Home
Add to preferred sources on Google

XML to CSV

Turn an XML feed or export into rows and columns. Pick which elements become rows and choose the fields to include.

XML input

Paste XML or choose a UTF-8 file up to 2 MiB.

CSV output

Analyze an XML document to choose rows and columns.

Conversion runs on your device. Reloading clears the XML and CSV.

Convert XML records to CSV

  1. Paste XML or choose a local XML file, then analyze it.
  2. Choose the element path for rows and select the columns.
  3. 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

Yes. Select the full element path and check its record count before export.

Yes. Select the parent attribute in the column chooser to repeat its value on the matching rows.

Each occurrence has a numbered column. The record stays on one CSV row.

The CSV preserves the text. Import the column as text if the spreadsheet would otherwise interpret it as a number.

Sources

JSON to TypeScript

Infer a TypeScript type alias from a JSON sample, then review, copy or download the code.

Open tool — JSON to TypeScript

JSON to YAML

Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.

Open tool — JSON to YAML

YAML 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 JSON

JSON Diff Checker

Compare JSON values and see added, removed and changed paths.

Open tool — JSON Diff Checker

XML to JSON

Convert XML to an ordered JSON tree with attributes, namespaces and mixed content.

Open tool — XML to JSON

JSON to XML

Convert local JSON to typed XML with exact keys and number text.

Open tool — JSON to XML

JSON Pointer Resolver

Look up a value in JSON and copy its pointer, URI fragment or exact JSON.

Open tool — JSON Pointer Resolver

JSON Lines Converter

Convert JSON Lines and JSON arrays in both directions while keeping the original number spellings.

Open tool — JSON Lines Converter

TOML to JSON

Convert TOML configuration to JSON with documented number and date handling.

Open tool — TOML to JSON

YAML Formatter

Format YAML indentation and copy the checked result while retaining comments and source details.

Open tool — YAML Formatter

XML Formatter

Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.

Open tool — XML Formatter

JSON Formatter & Validator

Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.

Open tool — JSON Formatter & Validator

XML to Excel

Choose XML records and fields, then save a local Excel workbook.

Open tool — XML to Excel

JSON to Excel

Convert JSON records to an Excel workbook while keeping long IDs exact.

Open tool — JSON to Excel

Excel to JSON

Export one XLSX worksheet as JSON objects or rows.

Open tool — Excel to JSON
View all tools in this category