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
Paste your data or upload a .csv, .tsv, .json or .txt file.
Leave auto-detect on, or choose the input format yourself.
Pick the output format and, for CSV or TSV, the quote style.
Click Convert, then copy the result or download it.
Good for
Turning a spreadsheet export (CSV) into JSON for an API or mock server
Pasting a column of values from Excel and getting a JSON array
Converting JSON API responses back into CSV for analysis
Converting an XML export into JSON, or a JSON payload into XML
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.