Mock Data Generator
Define your fields, choose how many rows you need, and get realistic fake data as JSON, NDJSON, CSV or SQL INSERT statements. The same seed always gives the same data.
Last updated
| Field name | Type | Options | % null | Remove |
|---|---|---|---|---|
| — | ||||
| — | ||||
| — | ||||
| — | ||||
| — |
[
{
"id": 1,
"name": "Olivia Gosling",
"email": "olivia.gosling67@example.com",
"role": "editor",
"active": true,
"createdAt": "2025-05-17T23:14:12.000Z"
},
{
"id": 2,
"name": "Omar Johnson",
"email": "omar.johnson88@example.net",
"role": "admin",
"active": true,
"createdAt": "2025-07-02T05:36:34.000Z"
},
{
"id": 3,
"name": "Rahul Martin",
"email": "rahul.martin47@example.net",
"role": "admin",
"active": false,
"createdAt": "2025-12-20T11:43:39.000Z"
},
{
"id": 4,
"name": "Radia Turing",
"email": "radia.turing78@example.org",
"role": "admin",
"active": true,
"createdAt": "2025-02-27T10:03:07.000Z"
},
{
"id": 5,
"name": "Katherine Khan",
"email": "katherine.khan45@example.com",
"role": "admin",
"active": false,
"createdAt": "2025-05-28T04:38:58.000Z"
},
{
"id": 6,
"name": "Ken Sharma",
"email": "ken.sharma31@example.net",
"role": "viewer",
"active": false,
"createdAt": "2025-10-18T11:17:41.000Z"
},
{
"id": 7,
"name": "Radia Perlman",
"email": "radia.perlman66@example.net",
"role": "viewer",
"active": false,
"createdAt": "2025-11-29T21:24:00.000Z"
},
{
"id": 8,
"name": "Amara Lamarr",
"email": "amara.lamarr14@example.com",
"role": "admin",
"active": true,
"createdAt": "2025-07-09T04:06:38.000Z"
},
{
"id": 9,
"name": "Olivia Petrova",
"email": "olivia.petrova72@example.net",
"role": "admin",
"active": false,
"createdAt": "2025-10-27T10:30:17.000Z"
},
{
"id": 10,
"name": "Leslie Khan",
"email": "leslie.khan99@example.org",
"role": "viewer",
"active": true,
"createdAt": "2025-06-03T20:45:05.000Z"
}
]10 rows · The same seed always gives the same data, so you can reproduce a mock later.
Keyboard shortcuts:Ctrl ↵Copy dataCtrl SDownloadCtrl KSearch tools
How to use the Mock Data Generator
Start from a preset
Pick Users, Orders, IoT telemetry or Companies, or build your own list of fields.
Shape the fields
Give each field a name and type. Set ranges for numbers, lists for enums and a share of null values.
Choose rows and format
Generate up to 1,000 rows as JSON, NDJSON, CSV or SQL INSERT statements.
Reuse it
Copy or download the data. Keep the seed to reproduce exactly the same rows later.
Features
- 33 field types: IDs, UUIDs, names, emails, phones, companies, products, prices, addresses, coordinates, IPs, URLs, colours, dates, timestamps, text and IoT readings
- Integer and decimal ranges, pick-from-a-list enums, and a % of null values per field
- Up to 1,000 rows at a time
- Output as a JSON array, NDJSON (one object per line), CSV or a SQL INSERT statement
- Seeded generation: the same fields and seed always produce the same rows
- Presets for users, orders, IoT telemetry and companies
- Uses reserved example domains and documentation IP ranges, so fake data never points at real people or servers
- Copy, or download in the chosen format — also with Ctrl/Cmd + Enter and Ctrl/Cmd + S
Privacy
All data is generated by JavaScript in your browser from built-in word lists. Nothing is uploaded, and the generated names and emails are fictional — emails use reserved example.com domains.
Examples
Users for a mock API
Three users as a JSON array, ready for a fixture or json-server.
Preset · rows · seed
Users · 3 rows · seed 42 · JSON Fields: id, name, email, role, active, createdAtJSON
[ { "id": 1, "name": "Olivia Gosling", "email": "olivia.gosling67@example.com", "role": "editor", "active": true, "createdAt": "2025-05-17T23:14:12.000Z" }, { "id": 2, "name": "Omar Johnson", "email": "omar.johnson88@example.net", "role": "admin", "active": true, "createdAt": "2025-07-02T05:36:34.000Z" }, { "id": 3, "name": "Rahul Martin", "email": "rahul.martin47@example.net", "role": "admin", "active": false, "createdAt": "2025-12-20T11:43:39.000Z" } ]IoT telemetry as CSV
Device readings with temperature, humidity and battery voltage.
Preset · rows · seed
IoT telemetry · 4 rows · seed 7 · CSV Fields: deviceId, ts, temperature, humidity, battery, statusCSV
deviceId,ts,temperature,humidity,battery,status dev-6990,1750781302,17.2,53,3.44,warning dev-7641,1750877257,10.9,46,3.49,warning dev-8777,1761208792,9.3,30,3.49,warning dev-5537,1747622039,25.4,88,3.82,offlineSeed an orders table
A single INSERT statement for your local database.
Preset · rows · seed
Orders · 3 rows · seed 2026 · SQL Fields: orderId, customer, product, quantity, price, status, orderedAtSQL
INSERT INTO orders (orderId, customer, product, quantity, price, status, orderedAt) VALUES ('923ac401-9612-456e-a034-cffc4464ad4e', 'James Berners-Lee', 'Wireless Mouse', 1, 171.01, 'cancelled', '2025-04-05T04:29:01.000Z'), ('a50f2fd4-72f9-4dc9-98cc-9af5021fe227', 'Guido Garcia', 'Noise-Cancelling Headphones', 2, 474.29, 'cancelled', '2025-12-26T04:41:42.000Z'), ('3980edfc-0fe7-4703-be83-17fd35bd39e0', 'Diego Martin', 'Noise-Cancelling Headphones', 1, 315.59, 'shipped', '2025-10-18T18:17:47.000Z');
Understanding mock data
Why use mock data?
- Build a front end before the API exists, using a JSON file or a mock server.
- Seed a local or staging database without copying production data — and the personal data in it.
- Load-test pagination, sorting and search with hundreds of realistic rows.
- Write tests against stable fixtures instead of hand-typed records.
Repeatable data with seeds
Random data that changes on every run makes tests flaky and screenshots inconsistent. This generator uses a seeded pseudo-random generator: with the same fields, row count and seed, you get exactly the same rows on any device. Change the seed (or click New data) for a fresh set.
Choosing an output format
| Format | Best for |
|---|---|
| JSON | Mock API responses, fixtures, json-server |
| NDJSON | Streaming, log pipelines, bulk imports (one record per line) |
| CSV | Spreadsheets, database COPY / LOAD DATA, analytics tools |
| SQL | Seeding a table directly with an INSERT statement |
Frequently asked questions
Is the generated data real?
No. Names are combined at random from built-in lists, emails use the reserved example.com, example.org and example.net domains, and IP addresses come from ranges reserved for documentation.
How do I get the same data again?
Keep the same fields, row count and seed. The generator is deterministic, so the output is identical every time.
How many rows can I generate?
Up to 1,000 rows at a time. For more, generate several batches with different seeds.
Can I generate SQL INSERT statements?
Yes. Choose SQL as the format and set the table name. Strings are quoted with single quotes, quotes inside them are doubled, and nulls become NULL.
Can a field sometimes be null?
Yes. Set % null on any field to make that share of rows null, which is useful for testing optional fields.