Sign in

File tools that never upload your files

Convert CSV to XML

Import spreadsheet data into a system that reads XML. Each row of the CSV becomes a <row> element with one child per column. Everything runs in your browser, so the data stays on your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Add the CSV

    Paste it or choose a .csv or .tsv file.

  2. 2

    Check the XML

    Indented XML appears at once.

  3. 3

    Copy or download

    Copy it or save it as an .xml file.

Why work without uploading

Predictable structure

<rows> holds one <row> per line, with an element per column.

Safe element names

Column names with spaces become valid XML names with underscores.

Private

Converted on your device.

Good to know

The column headers become element names, so a column called first name becomes <first_name>. Values are written as text exactly as they appear in the CSV, with special characters such as & and < escaped correctly.

The structure is deliberately simple. If the target system needs other element names or attributes, convert the CSV to JSON first, rename the keys, and convert that JSON to XML, where keys starting with @ become attributes.

Comma, semicolon and tab separated files are detected automatically.

Questions and answers

What does the XML look like?

A <rows> element with one <row> per line and an element for each column.

Can I get attributes instead of elements?

Go through JSON: keys starting with @ become attributes in JSON to XML.

Is my CSV uploaded?

No. It is converted in your browser.

Can I copy the XML instead of downloading it?

Yes. Copy it with one click and paste it straight into an import form or an editor.

Are empty cells kept?

Yes, as empty elements, so every <row> has the same children.