How json lines to json works
Parses each nonblank line separately and collects the records into one JSON array. Errors identify the original line number.
Try an example
{"id":1} followed by a newline and {"id":2} becomes [{"id":1},{"id":2}].
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. Blank lines are ignored. Pretty-printed multiline records are not JSON Lines.
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.