JSON Array to Lines

Expand a JSON string array to lines.

Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails.

What JSON Array to Lines does

Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails.

JSON Array to Lines sits in the Convert group on purpose. It is not Lines to JSON Array (Wrap lines as a JSON array.) and not JSON to CSV (Turn a JSON array of objects into CSV.). Choose this page when you need Expand a JSON string array to lines. If you stretch JSON Array to Lines into a neighbor’s job, the result will look wrong even though the site chrome looks the same.

How to use JSON Array to Lines

  1. Keep this tab on JSON Array to Lines (/convert/json-array-to-lines). Pasting into the wrong Convert tool (for example Lines to JSON Array) changes the job.
  2. Paste or type the input JSON Array to Lines expects. Path hint: convert · json array to lines. Expand a JSON string array to lines.
  3. Apply the JSON Array to Lines action only. JSON to CSV is a different transform (Turn a JSON array of objects into CSV.). Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails.
  4. Copy the output of JSON Array to Lines if you need it elsewhere. Size/complexity still follows: JSON array only.
  5. If the text job is actually Wrap lines as a JSON array., leave JSON Array to Lines and open Lines to JSON Array.

When not to use JSON Array to Lines

Skip JSON Array to Lines when a neighbor tool matches better — start with Lines to JSON Array or JSON to CSV — or when the description already warns the job will fail. In the tool’s own words: Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails.

Questions about JSON Array to Lines

What does JSON Array to Lines do that other Convert pages on this site do not?
Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails. Short version: Expand a JSON string array to lines.
Does JSON Array to Lines upload my file or text to Tool-You servers?
No. JSON Array to Lines runs in this browser tab. Files stay on the device. Limit note: JSON array only.
Should I use Lines to JSON Array instead of JSON Array to Lines?
Use JSON Array to Lines when you need Expand a JSON string array to lines. Use Lines to JSON Array when you need Wrap lines as a JSON array. They share a category (Convert) but not the same job.
What are the limits of JSON Array to Lines?
JSON array only. Also: Requires a JSON array; joins stringified items with newlines. Unlike Lines to JSON Array this decodes. Bad JSON fails.