Converter
Paste PHP array below, press Convert, and copy the JSON Lines output.
Convert PHP array to JSONL free in your browser. Paste your PHP array on the left, press Convert, and copy clean JSON Lines on the right. No sign-up, no uploads.
Paste PHP array below, press Convert, and copy the JSON Lines output.
A small recursive parser walks the array() or [] structure token by token, honoring 'key' => value pairs, nested arrays, quoted strings with escapes, numbers, booleans and null. Each top-level associative array becomes one row, and the JSON Lines serializer then renders those rows in the target format with correct escaping for JSONL.
JSON Lines is the friendliest shape for big data: stream it into BigQuery, ClickHouse or a log pipeline without loading everything into memory. Because each row is independent, you can also split the output file by line count and process chunks in parallel.