sitekits.dev
press ⌘K to switch tools
GENERATE

Random JSON Data Generator

Generate random JSON test data.

local
json-gen
§01 ABOUT THIS TOOL

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

  1. Set Count (1–200) for the number of records.
  2. Tick the field checkboxes (id, uuid, name, email, age, active, price, date, city) to shape each record. Output updates automatically when you change either.
  3. 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.

FAQ
Is the generated data sent anywhere?
No. Records are generated in your browser with Math.random and crypto.randomUUID; nothing is uploaded or stored on any server.
Is the data safe to use in demos and tests?
Yes, it is fully synthetic: names come from a fixed word list, and emails use reserved-style domains such as example.com and test.org, so no real person or mailbox is referenced.
How many records can I generate at once?
The Count field accepts 1 to 200 records per run. For larger datasets, generate multiple batches and concatenate the arrays, or script the same shape in your test setup.