How json to json lines works
Serializes each element of a JSON array as one independent compact JSON line. Embedded line breaks remain escaped inside strings.
Try an example
[{"id":1},{"id":2}] becomes two JSON Lines records.
Good to know
Processed in this browser. Maximum 100,000 input characters and 10,000 records. JavaScript JSON parsing can round large numbers and keeps the last duplicate key; quote identifiers to preserve them. An empty array produces empty output. Each record may be any JSON value.
Your privacy
Processing happens on this device. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.