All tools

JSON Lines / JSON Converter

Convert newline-delimited JSON records to a JSON array or split an array into JSON Lines records.

Input0 characters
Result0 characters

Input and result notes

Each nonempty JSON Lines line must contain one complete JSON value, not part of a pretty-printed object. Record order still matters when converting to an array.