JSON Lines converter
Convert JSON arrays to JSONL or NDJSON and back with an individual record preview and clear line errors.
How it works & useful details
How it works
Convert a JSON array to one compact JSON value per line, or collect JSON Lines into an array. Every line may contain any JSON value, including null or a nested array. Output uses LF newlines and a final newline when records exist. One final newline is accepted on input. Blank lines are rejected unless you explicitly skip them. An empty stream represents an empty array. Up to 10,000 records and 50,000 combined values.
Limits & privacy
Up to 1,000,000 characters, 50,000 values and 64 levels. Live previews pause above 40,000 characters; run the tool to process the full supported input. Imported files must be UTF-8 and under 1 MB. Your data stays on this device.
Numbers use JavaScript decimal precision. Unsupported large integers are rejected; quote identifiers to keep all digits. Duplicate object names keep their last value. Transforms preserve data, not source whitespace or number spelling.
Paths use JSON Pointer: an empty path selects the root, ~0 escapes a tilde, and ~1 escapes a slash.
