Generate mock test data as CSV

Make up to 1,000 rows of fake test data with names, example.com emails, drama phone numbers, cities, dates and IDs. Built in your browser as CSV.

How to generate mock data

  1. 1

    List the columns you want in the box

  2. 2

    Choose how many rows to make

  3. 3

    Download the CSV or copy it into your test

Realistic test rows that cannot reach a real person

Test data is needed whenever a table, an import or a form has to be tried before real records exist, or where real records must not be used. A copy of production data in a test system is a privacy problem waiting to happen. Made-up rows avoid it, as long as they cannot point at a real person by accident.

What each column holds

The box lists the columns, separated by commas or one per line. It starts with name, email, phone, city and date, so pressing the button straight away gives a usable file.

  • name: a first and last name from short lists drawn from many countries.
  • email: the same person’s name at example.com, with a number, such as ada.lovelace42@example.com.
  • phone: a UK number from Ofcom’s drama ranges, 020 7946 0xxx or 07700 900xxx.
  • city: a city name, including a few with accents, such as Zürich and São Paulo, so an import is tested on them.
  • date: a day between 2020-01-01 and 2026-12-31, written as YYYY-MM-DD.
  • number: a whole number from 1 to 1,000.
  • uuid: a random version 4 UUID.
  • boolean: true or false.

To name a column yourself, write the heading, a colon and the type: “Customer: name, Joined: date”. The same type can appear twice; the second heading gets a 2 after it.

Limits

Up to 1,000 rows at a time, which is enough to test paging, sorting and an import without making a file too large to read. The names and cities repeat across a large file, since the lists are short on purpose. Every value is drawn from the browser’s secure random source, so each press gives new rows. Save a file you need to use again.

A spreadsheet may drop the leading zero from the phone numbers when it opens the CSV. Import the column as text to keep it.

For JSON, paste the result into CSV to JSON, and for SQL insert statements, CSV to SQL.

Everything you need

Safe by construction

Emails use example.com and phone numbers come from Ofcom's drama ranges, so a test that sends mail or texts reaches no one.

Your columns, your headings

Eight column types in any order, with your own heading for each, and up to 1,000 rows at a time.

Private by design

The data is made in your browser from built-in lists. Nothing is sent or fetched.

Nothing uploaded: open the Network panel while it runs and check.

No daily limits or watermarks: free batches take up to 20 images.

Works offline: once the page has loaded, on any current browser.

Frequently asked questions

Could a generated email or phone number belong to a real person?

No. Every address ends in example.com, a domain reserved for examples by RFC 2606, so mail to it goes nowhere. Phone numbers come from the London and mobile ranges Ofcom sets aside for drama, which are not given to any subscriber.

Which column types are there?

There are eight: name, email, phone, city, date, number, uuid and boolean. Write them in the box separated by commas or one per line, and write "Signed up: date" to give a column your own heading.

Can I get JSON instead of CSV?

Generate the CSV, then paste it into CSV to JSON on this site, which turns each row into a JSON object with the headings as its keys.

Is anything sent to a server?

No. The rows are made in this browser tab from short built-in lists and the browser's secure random source. Nothing is downloaded from or sent to anywhere.

Sources

Related guides

Work with files privately and confidentlyPractical, sourced explanations for safer file conversion, sharing, and cleanup.