Convert JSON to JSONL, Free
Files convert instantly in your browser. 100% private, any file size, no account needed.
How to convert JSON to JSONL
JSONL (JSON Lines) is a format where each line of a text file is a valid, self-contained JSON object. Unlike a JSON array where the entire file must be parsed at once, JSONL can be streamed and processed one line at a time, making it ideal for large datasets, log processing, machine learning training data, and tools like BigQuery, Spark, or Elasticsearch.
This converter takes a JSON array as input and writes each element as a single line in the output JSONL file. If your JSON file contains an array of 10,000 objects, the output JSONL file will have 10,000 lines, one per object. The conversion runs instantly in your browser for any reasonably sized file.
Upload your JSON file
Click the upload area or drag your JSON file onto the page. The file should contain a JSON array at the top level.
Each array element becomes a line
BoltConverter iterates over the array and writes each object as a compact single-line JSON entry in the output JSONL file.
Download the JSONL file
Click Download to save the .jsonl file for use in data pipelines, ML tooling, or streaming processors.
Frequently asked questions
What input structure does this converter expect?
The input JSON file should have a JSON array as its top-level element: [{...}, {...}, ...]. Each element of the array becomes one line in the JSONL output.
What if my JSON file is a single object, not an array?
If the top-level JSON value is a single object, the output will be a JSONL file with one line containing that object. If you need to convert nested structures, flatten them into an array first.
Is JSONL the same as NDJSON?
Yes. JSONL and NDJSON (Newline Delimited JSON) are the same format: one JSON object per line, separated by newline characters. Different tools use different names for the same thing.
Why does BigQuery prefer JSONL over JSON arrays?
BigQuery reads JSONL files in parallel by splitting on newlines, making import much faster than parsing a large JSON array which must be read sequentially. JSONL also handles partial failures better since each line is independent.
Are my files uploaded anywhere?
No. This conversion runs entirely in your browser using JavaScript. Your JSON data never leaves your device.