Skip to the tool
ViewCSV
Files stay on your device

CSV to JSONL converter

orders.csv· SAMPLE DATA15 rows · 8 columns
Value types
Detection is per column and only when every value fits, so IDs with leading zeros and integers beyond 9,007,199,254,740,991 stay text.
Columns named user.name and user.email become one “user” object holding “name” and “email”.
{"order_id":"001041","customer":"Liam Garcia","city":"Austin","product":"Desk lamp","quantity":"6","unit_price":"142.72","order_date":"2026-01-09","status":"paid"}
{"order_id":"001042","customer":"Mary Clark","city":"Seattle","product":"Monitor 27\"","quantity":"5","unit_price":"210.76","order_date":"2026-02-03","status":"shipped"}
{"order_id":"001043","customer":"Henry Taylor","city":"Denver","product":"Notebook A5","quantity":"1","unit_price":"143.74","order_date":"2026-03-25","status":"pending"}
{"order_id":"001044","customer":"Lucas Smith","city":"Chicago","product":"Monitor 27\"","quantity":"5","unit_price":"137.00","order_date":"2026-04-25","status":"shipped"}
{"order_id":"001045","customer":"Noah Davis","city":"Seattle","product":"USB-C cable","quantity":"7","unit_price":"","order_date":"2026-05-11","status":"refunded"}
{"order_id":"001046","customer":"Emma Williams","city":"Portland","product":"Notebook A5","quantity":"6","unit_price":"166.44","order_date":"2026-06-10","status":"pending"}
{"order_id":"001047","customer":" Henry Taylor ","city":"New York","product":"Monitor 27\"","quantity":"7","unit_price":"57.53","order_date":"2026-07-14","status":"pending"}
{"order_id":"001048","customer":"Lucas Jones","city":"Austin","product":"Desk lamp","quantity":"7","unit_price":"194.19","order_date":"2026-08-03","status":"pending"}
{"order_id":"001049","customer":"Olivia Williams","city":"Austin","product":"USB-C cable","quantity":"5","unit_price":"190.03","order_date":"2026-09-07","status":"pending"}
{"order_id":"001050","customer":"Mary Wilson","city":"New York","product":"Chair, ergonomic","quantity":"8","unit_price":"61.04","order_date":"2026-01-15","status":"pending"}
{"order_id":"001051","customer":"Noah Williams","city":"Portland","product":"Chair, ergonomic","quantity":"2","unit_price":"61.37","order_date":"2026-02-25","status":"refunded"}
{"order_id":"001052","customer":"Mia Smith","city":"Boston","product":"Monitor 27\"","quantity":"5","unit_price":"231.42","order_date":"2026-03-09","status":"refunded"}
{"order_id":"001053","customer":"Ava Garcia","city":"Boston","product":"USB-C cable","quantity":"3","unit_price":"201.24","order_date":"2026-04-05","status":"pending"}
{"order_id":"001054","customer":"Mary Clark","city":"Boston","product":"Desk lamp","quantity":"5","unit_price":"35.49","order_date":"2026-05-12","status":"pending"}
{"order_id":"001043","customer":"Henry Taylor","city":"Denver","product":"Notebook A5","quantity":"1","unit_price":"143.74","order_date":"2026-03-25","status":"pending"}

15 rows · 1 file

Convert CSV, TSV or pasted table data into a .jsonl file with one JSON object per data row. The first row supplies field names. This page fixes the output to JSON Lines, so there is no surrounding array and each record occupies one physical line.

Create a JSONL file from your table

  1. Open a .csv, .tsv or .txt file, drop it on the tool, or paste rows. The delimiter and a UTF-8 or UTF-16 byte-order mark are detected; pick another delimiter or a legacy encoding such as Windows-1252 or Shift_JIS under Import settings.
  2. Choose whether values stay strings or safe numeric and boolean columns may be detected. Set empty-cell handling and optional nesting for dotted headers. The preview shows the first 200 output records.
  3. Download JSONL or copy the result when available. For several files, the batch action converts each input separately and packages multiple results in a ZIP.

One record per line, including multiline cells

The output uses UTF-8 without a byte-order mark and an LF after each object. A newline inside a CSV cell becomes a JSON string escape, so it cannot accidentally create another JSONL record. A blank line is not written as a record.

Control types, missing values and nesting

Keep every value as textEvery cell becomes a JSON string, exactly as written in the file. This is the default.
Detect numbers and true/falseA column becomes JSON numbers only if every non-empty value is a plain number that survives the conversion: no leading zeros, at most 15 significant digits, no decimal comma. true/false columns become booleans. Dates stay strings.
Empty cellsWrite "", null, or leave the key out of that object.
Nest dotted column namesuser.name and user.email become {"user": {"name": …, "email": …}}. If a name is both a value and a parent (user and user.name), those columns stay flat and the tool tells you.

File size, streaming and privacy

Interactive input supports 25 MiB, 100,000 data rows, 250 columns and 2 million cells. Larger files use chunked conversion with an output cap of 4 GiB. Conversion stays in this tab; the source is never uploaded.

Synthetic example: a cell newline stays inside one record

This invented CSV includes a text ID, a 20-digit identifier and a multiline note. With the default string setting, two CSV rows produce exactly two JSONL records. The visible backslash-n is a string escape.

CSV
id,note
00123,"first
second"
12345678901234567890,"Cable, USB"
JSONL download
{"id":"00123","note":"first\nsecond"}
{"id":"12345678901234567890","note":"Cable, USB"}

Questions and answers

This exporter writes one JSON object per line without an array wrapper. Check the receiving system’s field names and required value types before importing.

Standards and references