JustFreeTools.
◎   English
EnglishEspañolالعربية
← All tools
Developer

JSON to JSON Lines converter

Convert a JSON array to JSONL or NDJSON records, or combine JSON Lines into a JSON array. Preserve large numbers and nested values locally in your browser.

● Your files stay yours

Loading converter…

Choose a UTF-8 JSON, JSONL or NDJSON file up to 1 MiB, or paste text. JSON input must be an array; JSON Lines requires one complete JSON value per line.

    Copy becomes available when a result is ready. Editing inputs or options clears the previous result.

    How to use this tool

    Choose the conversion direction, load a UTF-8 file or paste text, then select Convert file. Each element of a JSON array becomes one compact JSON Lines record. In the reverse direction, each line becomes one array element. Objects, arrays, strings, numbers, booleans and null are supported. Review the result and copy or download it. Try an example for the selected direction; changes clear the previous result.

    Good to know

    JSON Lines (also called newline-delimited JSON or NDJSON) requires a complete JSON value per line. Blank lines are errors; a final LF or CRLF is accepted. Escaped newlines inside strings stay escaped. JSONL output ends with LF; JSON output places one compact element per line. Number spelling, string escapes, property order and duplicate keys are preserved; duplicate keys may be interpreted differently by downstream software. UTF-8 without BOM only. An empty JSON array becomes an empty JSONL download, and an empty JSONL input becomes []. No comments, trailing commas, compressed files or streaming. Limits: 1 MiB files, 1,048,576 UTF-16 input units, 10,000 records and 100 nesting levels including the array wrapper. All processing stays on your device.