Mock Data Generator

Generate realistic fake names, emails and addresses as CSV or JSON

100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.

About this tool

Generate realistic fake records for testing, demos and design mock-ups. Tick the fields you need - ID, first and last name, email, phone, address, city, country, company, job title, birth date, UUID, an active flag and an amount - choose 1 to 5,000 rows, and download the result as CSV or JSON, or copy the JSON. The first 30 rows are shown in a table so you can check the shape before downloading. Everything is generated in your browser, and the email addresses use reserved test domains such as example.com, so nothing goes to a real inbox.

How to use this tool

  1. Choose your fieldsTick any of the 14 fields. ID, names, email, phone and city are on by default; Sample picks a typical set and generates 10 rows.
  2. Set the number of rowsAnything from 1 to 5,000.
  3. Generate and check the previewThe first 30 rows appear in a table with one column per field.
  4. Download CSV or JSONSave mock-data.csv for spreadsheets and database imports, or mock-data.json for APIs and front-end fixtures - or copy the JSON.

What each field contains

ID counts up from 1. Names, cities, countries, companies and job titles are picked at random from built-in lists. Email combines the name with a number on a test domain; birth dates fall between 18 and 63 years ago in YYYY-MM-DD format; amount is a number between 0 and 10,000 with two decimals; active is true or false; UUID is a random version 4 UUID.

Because values are drawn independently, combinations are random - a Karachi city with a German phone code, for example. That is fine for layout, import and load testing, but not for tests that depend on realistic relationships between fields.

Key features

  • Up to 5,000 rows at once, in CSV with proper quoting or pretty-printed JSON.
  • Names, cities and countries from several regions, so layouts get tested with varied text.
  • Emails on reserved test domains such as example.com and mail.test, which can never reach a real person.
  • Generated in your browser with no sign-up and no API key.

Common uses

  • Seeding a development database with users to page, sort and search.
  • Filling a UI mock-up or demo with believable names instead of "Lorem ipsum".
  • Testing a CSV import feature with a few thousand rows.
  • Creating fixtures for front-end tests from the JSON output.

Tips for better results

  • Turn on UUID when you need a unique key: names and emails can repeat across rows.
  • Generate a small set first to check the columns, then raise the row count.
  • Use CSV for Excel, Google Sheets and database imports; use JSON for APIs and test fixtures.
  • Keep the downloaded file with your tests so everyone works from the same data.

Mistakes to avoid

  • Using email as a unique key - two rows can get the same address.
  • Treating the phone numbers as real or valid for a country's numbering plan; they only look plausible.
  • Expecting the same rows each time - every Generate creates a new random set, so save the file you test with.
  • Copying fake records into production systems where they can be mistaken for real customers.

Frequently asked questions

No. Every record is invented: names and places are mixed at random, emails use reserved test domains, and phone numbers only look plausible. It does not describe any real person.

Up to 5,000 per run. The table shows the first 30; the download and the copied JSON contain all of them.

CSV, with values containing commas, quotes or line breaks properly quoted, and pretty-printed JSON as an array of objects. You can also copy the JSON to the clipboard.

IDs are unique (1, 2, 3...) and so are UUIDs. Emails are built from a random name and number, so duplicates are possible in large sets.

No. Each Generate produces a new random set. Download the file if your tests need the same data every time.

No. The data is generated in your browser and downloaded directly; nothing is uploaded or stored.

Related guides