Convert TSV to JSONL
Turn TSV files into JSONL. Each entry of a top-level list becomes one line of compact JSON, and any other value becomes a single line, with values and key order kept.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TSV files on the dialor turn it to pick what to do
One JSONL line for each entry.Your TSV data becomes JSON Lines, with values and key order kept.
What you get
One JSONL file. Each entry of a top-level list becomes one line of compact JSON, so a log or dataset tool can read it one line at a time.
Any other value becomes a single line. Values and key order stay as they are in the source.
Going the other way
To turn JSON Lines back into tab-separated text, use JSONL to TSV. To join several files before you convert, you can merge TSV.
TSV and JSONL.What each format is.
The formats
Tab-Separated Values
Tab-separated values.
- Extensions
- .tsv .tab
- MIME type
- text
/tab -separated -values - Kind
- Text and data
JSON Lines
JSON Lines, one JSON object per line, the format of logs and datasets.
- Extensions
- .jsonl .ndjson
- MIME type
- application
/jsonl - Kind
- Text and data
In your code.The same TSV to JSONL conversion through the API, for your app or your agent.
$ cv convert sheet.tsv sheet.jsonl$ cv convert sheet.tsv sheet.jsonlQuestions.What people ask about TSV to JSONL.
Each line holds one entry of the top-level list as compact JSON. If the data is not a list, the whole value is written as a single line.
Yes. Values and key order are kept in the output.
No. There are no options to set. The conversion gives you one file.
JSONL files use the extensions jsonl or ndjson.