How to use JSON to JSONL
- 1. Paste a JSON array. Not a stream of pretty objects with inner newlines.
- 2. Copy JSONL. Direction is array → JSONL here.
- 3. Use it in a log pipeline. Or as a fixture for line-oriented tools.
About this tool
“JSON to jsonl” is how you turn a REST list into something jq and warehouse loaders like. This page is that direction of the JSONL tool.
Root must be an array
A lone object is not JSONL. Wrap it: `[{...}]`, then convert.
Code examples
JSONL
{"id":1}
{"id":2}