Skip to content
Jellykit

JSON to JSON Lines

Convert a JSON array into JSON Lines (JSONL / NDJSON), one compact record per line, for BigQuery, OpenAI fine-tuning files and log tools. Free and private.

Runs in your browser. Nothing is uploaded.

About JSON to JSON Lines

JSON to JSON Lines writes each item of a JSON array as compact JSON on its own line. That is the format expected by BigQuery and other bulk loaders, fine-tuning datasets, and log pipelines that stream records one at a time.

Each line is minified so it fits on one line, and a non-array input becomes a single line. Download the result as a .jsonl file.

How to use JSON to JSON Lines

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Why use JSONL instead of a JSON array?

JSONL can be streamed and appended line by line without loading the whole file, which suits large datasets and logs.

Does it keep nested objects?

Yes. Each record is kept whole, just written on one line.

Is JSON to JSON Lines free and private?

Yes. JSON to JSON Lines is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all data tools →