Skip to content
On your device. In your control.
← All tools
DATA

JSONL to CSV

Convert JSON Lines to CSV locally. Get the source line of invalid records and choose how nested objects become columns.

Private, on-device processingNo file uploadsOriginal files stay unchanged
  1. 1. Add files
  2. 2. Convert
  3. 3. Download

Add your files

One data file up to 10 MiB.

We never upload or save your files, pasted content or results on our servers.

How we protect your privacy

About this conversion

JSONL, also called JSON Lines or NDJSON, contains one JSON object per non-empty line instead of a single outer array. This tool stops when a record is invalid and reports its original line number. It does not silently discard malformed records. Fields from different records become columns; absent fields become empty cells.

How it works, examples & FAQs

How to convert JSONL to CSV

  1. Choose your JSONL file, or paste its contents.
  2. Review the preview and the output options. Check the format limitations below.
  3. Select Convert, review each result, then download the ready files.

Example

{"id":1,"name":"A"}
{"id":2,"name":"B"}
These two lines produce two CSV data rows. Do not wrap JSONL records in an array; use JSON to CSV for an array input.

Limits and common problems

The tool accepts one data file up to 10 MiB. Review the result before importing it into a spreadsheet or another application.

An invalid record or ambiguous column layout stops the export. Correct the input before trying again; no invalid record is silently discarded.

Frequently asked questions

Can I use an NDJSON file?

Yes. This tool uses the same one-object-per-line structure. If your file picker filters the extension, drag the NDJSON file into the input area or paste its contents.

Does a bad line get skipped?

No. The converter stops and identifies the invalid source line. Fix the record deliberately, then run the conversion again.

Related tools

All data tools