Mock Data Generator

Generate fake JSON/CSV records (names, emails, addresses, dates).

The Mock Data Generator builds fake but realistic test records from a schema you define. Choose field names and types, set a row count and a format, and get JSON or CSV you can use in fixtures, demos and database seeds.

What is mock data?

Mock data is made-up data with the same shape as real data. Developers use it to fill a database, test an API, demo a screen or load-test a pipeline without exposing real customer records. A good generator produces values that look right for each field, such as plausible names, emails, cities and UUIDs, instead of random strings. This tool uses the Faker library for the values. Faker is driven by a pseudo-random number generator, so if you give it the same seed and the same schema you get the same output again. That makes generated fixtures reproducible: you can keep a seed along with a test and regenerate identical data later.

How to use Mock Data Generator

  1. Define the fields Edit the name and pick a type for each field. Use Add field for more or the trash button to remove one (at least one field must remain).
  2. Set the number of rows Enter a whole number in the 'Rows (max 1000)' field, from 1 to 1000.
  3. Choose a seed and format Optionally enter a 'Seed (optional)', and select JSON or CSV in Format.
  4. Generate Press Generate. The result appears in the Generated data box.
  5. Copy or download Copy the output or download it as mock-data.json or mock-data.csv.

Frequently asked questions

Is the data really random?

It comes from a pseudo-random generator. With no seed it starts from a random state; with a seed the sequence is fixed, so the same input gives the same output.

Are the rows consistent, for example does the email match the name?

No. Each field is generated independently, so an email will not be built from the name in the same row.

How many rows and fields can I generate?

Up to 1000 rows and 30 fields per run.

Is my schema sent to a server?

No. Generation happens in the page and nothing is sent anywhere.

Can I define my own value lists or nested objects?

No. Only the twenty built-in field types are available, and each row is a flat object.

Will the same seed give the same data in future versions?

Not guaranteed. A change in the Faker library or its locale data can change the output for a given seed, so store the generated file if you need it fixed.