My Toolbox

CSV, TSV, JSON and XML Converter

Convert data between CSV, TSV, JSON, XML and a single column of values in any direction, with automatic format detection and file upload.

About the Data Converter

Converts between Column (one value per line), CSV, TSV, JSON and XML, in any direction. It can auto-detect the input format, accepts a file upload, and lets you choose the quote style of CSV and TSV output.

How to use it

  1. Paste your data or upload a .csv, .tsv, .json or .txt file.
  2. Leave auto-detect on, or choose the input format yourself.
  3. Pick the output format and, for CSV or TSV, the quote style.
  4. Click Convert, then copy the result or download it.

Good for

Tip: When a CSV has commas inside values, make sure those values are quoted; otherwise the columns shift. In XML, repeated elements such as <item> become rows. Check the first few converted rows before using the output.

Frequently asked questions

How do I convert CSV to JSON?

Paste the CSV with its header row, choose JSON as the output format and click Convert. Each row becomes a JSON object keyed by the header names.

Can it convert JSON back to CSV?

Yes. Choose JSON as the input and CSV as the output. The JSON should be an array of objects with the same keys.

What happens to commas inside values?

Quoted values such as "Doe, John" are read as one field, and values that need it are quoted again in CSV output.

More free tools