JSON Array Generator
Generate realistic mock data — define a schema of fields (name, email, uuid, int / float ranges, enums, dates, lorem, nested objects and arrays), set a row count and a seed for reproducible output, and export as a JSON array, NDJSON, CSV, SQL INSERTs or a JavaScript array literal — all in your browser.
What this tool does
It generates arrays of fake records from a schema you describe, and previews them live.
Defining the schema
One field per line: name | type | options. Use a dot
path (address.city | city) to build nested objects.
Wrap a type in array:<n> options to repeat it.
Field types
Text: string, word, words, sentence, paragraph.
Identity: name, firstName, lastName, email, username,
phone, company, jobTitle. Numbers:
int:1:100, float:0:1:2, bool,
id (auto-increment), uuid.
Choice: enum:a;b;c,
weighted:a=3;b=1. Dates: date,
datetime, pastDate, futureDate. Web: url, ip,
color, avatar.
Reproducible output
Set a seed and every regeneration produces the same data — useful for fixtures and tests. Clear the seed for fresh random data each time.
Output formats
Pretty or minified JSON array, NDJSON (one object per line), CSV,
SQL INSERT statements, or a JavaScript array literal.
Privacy
Everything runs in your browser. Nothing is uploaded.