JSON to JSONL Converter

Free. No sign-up. Your input is processed in your browser.

Convert between a JSON list and JSON Lines.

How to use it

  1. Paste a JSON list or JSON Lines.
  2. Leave Convert on automatic, or choose a direction.
  3. Download the result.

What is JSON Lines?

Each line is one complete JSON value. Datasets and batch jobs often use this layout. Blank lines are skipped when reading.

{"id": 1}
{"id": 2}

Limits

The tool checks that every line is valid JSON. It does not check the fields a particular AI service requires, so follow that service’s own format guide. Large numbers keep every digit.

Questions

Can I check a file?

Yes, open a file up to 5 MB. Invalid line numbers are listed.

Is NDJSON the same?

In common use both mean one JSON value per line.

Related tools

See all tools