Random JSON Data Generator
Generate random JSON test data.
Overview
Random JSON Data Generator produces an array of mock records for seeding
tests, prototyping APIs, and filling UI lists. Nine field generators are
available: id (random integer), uuid (via crypto.randomUUID()), name,
email, age (18–77), active (boolean), price (0–100, two decimals),
date (recent ISO YYYY-MM-DD), and city. Output is pretty-printed JSON,
ready to paste into a fixture file.
How to use
- Set Count (1–200) for the number of records.
- Tick the field checkboxes (
id,uuid,name,email,age,active,price,date,city) to shape each record. Output updates automatically when you change either. - Click Regenerate to reroll new random values with the same settings, then copy the JSON from the output area.
Examples
With id, name, email checked and Count 1:
[{ "id": 48213, "name": "Grace Chen", "email": "[email protected]" }]
Checking uuid and price adds fields like "uuid": "0f9c…" and "price": 42.17 to every record.
Notes
Values are independent per field — the email is not derived from the name
in the same record, so don’t rely on cross-field consistency. Data is random
each run; if your tests need reproducible fixtures, generate once and commit
the output rather than regenerating.