Private file tool · JSON Lines

Turn one JSON object per line into a CSV table

Read every physical line, collect the union of fields, and block a bad line instead of exporting only the readable prefix.

Files stay in your browser. No uploads or sign-in.

Import files

JSON Lines
Source file

Choose a file on this device.

objects.jsonl

JSONL and NDJSON to CSV Converter

Example and result

The example uses fixed teaching data. Your imported file stays in the workspace above.

Input

{"id":"01"}
{"id":"02","qty":7}

Output

id,qty
01,
02,7

Only the second line contains qty. The column still appears in the header, with an empty field for the first record.

Usage steps

  1. Import a UTF-8 .jsonl or .ndjson file.
  2. Check column names and flattening options. Follow the error message to fix any invalid lines.
  3. Download the full CSV once every line has been read.

Capabilities and limits

ItemDescription
InputJSONL or NDJSON with one object per line
OutputCSV
Key limitationUse UTF-8 without a BOM. Invalid lines block the export.
How the file is handledFiles are processed in this browser tab. The amount you can handle depends on the device memory.

FAQ

Is NDJSON supported?

Both .jsonl and .ndjson files are supported.

Can invalid lines be skipped?

The tool reports the line number in the file and stops the export.

Does a trailing line break count as a blank line?

A single final line break does not count as an extra line.

Which encoding is required?

Use UTF-8 without a BOM. LF and CRLF line endings are both supported.

Related tools

Related guides