CSV to JSONL Converter

Convert CSV or TSV to JSONL, one JSON object per row. Quoted fields and multi-line cells are handled, and values such as 007 stay as text instead of turning into 7.

Runs entirely in your browser. Your file is never uploaded. How this works

Example

This CSV:

id,zip,name,active
1,02134,"Lovelace, Ada",true

Becomes this JSONL:

{"id":1,"zip":"02134","name":"Lovelace, Ada","active":true}

The ZIP code keeps its leading zero because converting it to a number would change it.

Frequently asked questions

How are numbers detected?
With type detection on, a cell becomes a number only if nothing would be lost. 42 becomes a number, while 007, 1.10, 1e5 and integers too large for JSON numbers to hold exactly stay as strings.
How are empty cells handled?
With type detection on, an empty cell becomes null. With it off, every value is a string and empty cells are empty strings.
What if column names repeat?
Repeats get a number, so two name columns become name and name_2. No data is overwritten.
Does it support semicolons and tabs?
Yes. Automatic detection checks for commas, tabs, semicolons and pipes in the first row, or you can choose one.

Related tools