JSON to JSONL (JSON Lines) Converter
Convert a JSON array to JSON Lines (NDJSON) online — one compact JSON object per line, ready for LLM training data, logs and ETL pipelines. 100% in-browser.
Input · json0 chars
Output · jsonl0 chars
🔒 100% private: this tool runs entirely in your browser. Your data is never uploaded, stored or logged anywhere.
How to json → jsonl
- Paste a JSON array — each element becomes one compact line.
- Use it for fine-tuning datasets, log pipelines or streaming formats.
- Copy or download the .jsonl file.
FAQ
What is JSONL used for?
JSON Lines is the standard for line-delimited records: OpenAI fine-tuning datasets, log shipping, big-data pipelines — one valid JSON value per line, easy to stream.
What if my input is a single object?
It becomes a single line — still valid JSONL.
Is whitespace inside objects preserved?
No — each record is minified to one line, which is what the format requires.