Devtools.supstudio.in

Tools/JSON

JSONL

What this is

JSONL (NDJSON) is not an array. It is a stream of JSON values separated by newlines. Wrapping the file in [ ] and adding commas is the usual mistake. Toggle JSONL on the formatter to validate line by line; one bad line should not hide the rest. Beautify in this mode minifies each row (one value per line), which is what log shippers expect.

Open the formatter — paste stays in this tab.

{"id":1,"ok":true}
{"id":2,"ok":false}

FAQ

Pretty JSONL?
Pretty-print each value but keep one value per line if downstream tools expect NDJSON. Nested pretty-print with inner newlines will break line-oriented tools.

Related