convertorino Search all tools/

CSV to XML

Paste CSV or add a file and get XML straight away. Copy the result or download it, with no sign up and no upload.

  • No upload
  • No account
  • Free, no watermark

Your CSV

Result as XML

How it works

How to convert data

  1. Paste your data or add a file

    Type or paste into the box on the left, or press Choose file. You can also drop a file onto the box.

  2. Adjust the options

    The result updates as you type. Change the options if you need a different separator, indent or root name.

  3. Copy or download

    Press Copy to paste the result into your code, or Download file to save it.

Why

Why convert CSV to XML

CSV is a table written as plain text, one row per line. XML describes data with nested tags and is used by feeds, sitemaps and older systems. Converting CSV to XML lets you move data between tools, services and scripts that expect different formats.

Questions

Questions and answers

Is my data uploaded?

No. The conversion runs inside your browser, and what you paste or add never leaves your device. It is safe to use with private data, API responses and configuration files.

Which CSV separators work?

Comma, semicolon, tab and vertical bar. The separator is detected automatically, or you can choose it yourself. If your CSV has no header row, untick First row is the header and each row becomes a list of values.

How are attributes and the root element written in XML?

XML needs one root element. If your data has a single top level key, that key is the root. Otherwise the root is called root, and you can change the name. Keys that start with @ become attributes.

Why do some values become numbers?

CSV and XML store everything as text. With Turn numbers and true or false into real values ticked, text such as 42 or true becomes a number or a boolean. Untick it to keep every value as text, for example for postcodes or phone numbers.

Is there a size limit?

There is no fixed limit. Files up to a few tens of megabytes work on most computers, and the only limit is the memory of your device. Very long results are shown in part, and Copy and Download still give you all of it.

Does it work offline?

Yes. Once the page has loaded, it works without an internet connection, and nothing you type or add is sent anywhere.

More tools

More free tools

Everything on ConvertOrino runs in your browser, so your files and what you type never leave your device.

Last updated