XML to table and CSV

Paste XML or drop a file, pick the repeating element (one record each) and get a table ready to copy or download as CSV: attributes, children and text become columns.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop an .xml file on this area (5 MB max), or

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Paste the XML or drop a file: the tool suggests the repeating elements.
  2. Choose "One record per…" (it is usually already right) and set the levels: how many levels of children to flatten into columns.
  3. Check the preview, pick the delimiter and copy or download the CSV; "Send to…" passes it to the other data tools.

Frequently asked questions

How are the columns named?

Attributes are @name, children use their own name (child/grandchild for deeper levels) and a repeated child becomes child, child[2], child[3]. The text of an element that also has children is in …/#text.

What is "Neutralise formulas"?

A value starting with = + - or @ can be run as a formula by Excel and spreadsheets. With the option on, an apostrophe is added so it stays text.

Is my data sent to a server?

No: the conversion runs in your browser.

Privacy

The document stays in your browser: it is not sent to any server.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain