jsonlkit.com
JSONL (JSON Lines) utilities, in the browser
Say hi →

JSONL Generator

updated 12 May 2026

JSONL generator. Generate synthetic JSONL (JSON Lines) data from a tiny schema. Useful for testing pipelines, mocking APIs and stress-testing fine-tuning code without real data. Runs in your browser.

Schema

Schema syntax: field: type per line. Types: uuid, int(min,max), float(min,max), name, firstName, lastName, email, url, bool, date(2020,2026), datetime, lorem(words), choice(a,b,c), regex(pattern).

Before you start

The generator is for synthetic test data — not real data. It's reproducible: the same Seed always produces the same output, so you can pin your fixtures.

How to use it

  1. Edit the Schema: one line per field as name: type. Types accept arguments in parens.
  2. Set how many records you want.
  3. Optionally pin a Seed to make output reproducible.
  4. Click Generate, then Copy or Download.

Field types

Example

Schema:

id: uuid
user: name
email: email
age: int(18, 80)
plan: choice(free, pro, team)
signed_up: date(2023, 2026)

Output (seed 42, 2 records):

{"id":"d36f...","user":"Maya Jones","email":"[email protected]","age":31,"plan":"pro","signed_up":"2024-08-14"}
{"id":"4b21...","user":"Hugo Lee","email":"[email protected]","age":67,"plan":"free","signed_up":"2025-12-02"}

Tips & common pitfalls

Frequently asked questions

Is the data real?

No — purely synthetic. No external API calls, no real PII. Safe to use in public demos.

Can I generate fine-tune chat samples?

Indirectly. Define a flat schema for prompts and answers, then wrap with messages arrays in a tiny post-processing step. A dedicated visual editor exists for hand-authoring chat rows.

Why does the same seed not match other tools?

The seed only matches inside this generator. We use a small mulberry32 PRNG; other tools use different algorithms.

Related tools