Mock Data Generator
Generate fake JSON data — names, emails, UUIDs, dates and more.
Mock data is generated locally in your browser and nothing is uploaded to a server.
Need to validate the result? Try the JSON Formatter.
About Mock Data Generator
This mock data generator builds realistic fake JSON records on demand, so you can seed databases, stub APIs, and populate UI prototypes without hand-writing test fixtures. Pick the fields you need — id, uuid, firstName, lastName, fullName, email, age, phone, city, country, company, jobTitle, bool, date, price, or sentence — set a row count, and get a ready-to-use JSON array. It is handy for developers, QA engineers, and designers who need sample JSON data for tables, forms, and demos. As a fake json generator and test data generator, it covers common entity shapes like users and orders. Everything runs locally in your browser, so the generated dummy data stays on your machine and nothing is uploaded to a server.
Features
- Toggle 16 field types including id, uuid, email, phone, date, price and sentence
- Generate up to 1000 rows of fake JSON in a single batch
- Outputs a clean JSON array (or a single object when you request one row)
- Realistic values: full names, emails, ISO dates, phone numbers and prices
- Version 4 UUIDs via the browser's crypto.randomUUID, with a fallback for older browsers
- Regenerate button reshuffles values without changing your field selection
- Copy the JSON to your clipboard or download it as mock-data.json
- Runs entirely in your browser
How to use the Mock Data Generator
- Click the field chips to select which keys each record should include.
- Set the Rows number to choose how many records to generate (1 to 1000).
- Read the generated JSON in the output panel, then click Regenerate for a fresh set of values.
- Use Copy to grab the JSON or Download to save it as mock-data.json.
Example
Input
Fields: id, fullName, email, age — Rows: 2
Output
[
{
"id": 48213,
"fullName": "Grace Hopper",
"email": "ada.turing@example.com",
"age": 34
},
{
"id": 1907,
"fullName": "Liam Patel",
"email": "sofia.kim@demo.io",
"age": 61
}
]
Two records with the id, fullName, email and age fields selected. Each field is generated independently, so the email does not derive from fullName.
Common errors & troubleshooting
- You set the row count above 1000 and fewer rows appear. — Row count is capped at 1000 per batch; generate multiple batches if you need a larger dataset.
- Output is a single object instead of a JSON array. — With Rows set to 1 the tool returns one object. Increase the row count to 2 or more to get a JSON array.
- Names and emails do not match each other. — Each field is generated independently, so the email is not derived from fullName. Treat values as random placeholders, not linked records.
- Generated values repeat across rows. — Values are drawn from a fixed sample pool, so duplicates can occur in small fields like city or country. Click Regenerate or add unique fields like id or uuid for distinct keys.
- No field chips are selected and you still get output. — With no fields toggled on, the generator falls back to id, fullName and email so the output is never empty. Select chips to control the exact shape.
Frequently asked questions
- What is the ArrayKit Mock Data Generator?
- It is an in-browser tool that produces realistic fake JSON for testing — pick from 16 field types, set a row count, and get a ready-to-use array of mock records for seeding databases, stubbing APIs or filling prototypes.
- What fields can the Mock Data Generator produce?
- It supports 16 field types: id, uuid, firstName, lastName, fullName, email, age, phone, city, country, company, jobTitle, bool, date, price and sentence. Toggle any combination on or off.
- How do I generate a large batch of mock data?
- Enter a number between 1 and 1000 in the Rows field and click Regenerate. For more than 1000 records, run several batches and concatenate the resulting JSON arrays.
- Does the Mock Data Generator output valid JSON I can import directly?
- Yes. It emits standard, pretty-printed JSON — an array of objects for multiple rows, or a single object when you request one row — that you can paste straight into code or a fixture file.
- Are the generated UUIDs real UUIDs?
- Yes. The uuid field uses the browser's crypto.randomUUID to produce version 4 UUIDs, with a fallback generator for older browsers.
- Is the mock data I generate sent anywhere?
- No. The Mock Data Generator runs entirely in your browser, so every record is created on your device and nothing is uploaded to a server.
Related tools
All ArrayKit tools