Skip to content

Menu

Mock Data Generator

Generate realistic fake data — names, emails, addresses, UUIDs — in JSON, CSV, or SQL.

Runs entirely in your browserGeneratorsFree, no sign-up
Loading tool

01What is Mock Data Generator?

Sooner or later every project needs rows of believable fake data. You want a users table that isn't empty, a CSV to throw at an import screen, or JSON for a component while the API is still a promise. Mock Data Generator makes that data from built-in word lists, with no library and no server call. There are sixteen fields you can switch on or off: id, firstName, lastName, email, phone, address, city, country, zipCode, company, jobTitle, ip, createdAt, username, website and isActive. Five are on by default: id, firstName, lastName, email and createdAt. Field names and their value types are fixed, so you can't rename a column or add your own. Each value is built by a small rule. The id looks like a version 4 UUID, with the 4 and the variant digit in the right places, but it comes from Math.random rather than a cryptographic source. Emails use example.com, example.org or example.net, which RFC 2606 reserves for documentation. Websites are subdomains of example.com. Phones follow the US +1 (area) xxx-xxxx pattern. Dates fall between January 2020 and June 2026 and print as YYYY-MM-DD. You pick 1 to 1,000 rows and one of three formats. JSON is pretty-printed with two-space indents. CSV gets a header row, and any value with a comma or double quote is wrapped in quotes with inner quotes doubled, following RFC 4180. SQL writes one INSERT statement per row for the table name you type, doubles single quotes in strings, and writes booleans as TRUE or FALSE. A quick example: turn on just id, username and isActive, ask for two rows in SQL, and you'll get two lines like INSERT INTO users (id, username, isActive) VALUES ('bbc939a5-...', 'james974', FALSE);. Your exact values will differ every time. Now the honest part. Nothing is seeded, so you can't reproduce a batch later unless you save it. Each field is picked on its own, so a row's email won't match its first and last name. With about fifty first names and fifty last names, duplicates show up fast in bigger batches. IP addresses are random IPv4 values and may belong to real networks. The table name goes into the SQL as typed, without quoting. Generation happens in your browser tab, and the Download button saves the result straight from memory as mock-data.json, .csv or .sql.

Developers who need a quick batch of fake user records as JSON, CSV or SQL to seed a dev database or fill a UI prototype. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Mock Data Generator

  1. Tick the fields you want under Select Fields. The heading shows how many are selected.
  2. Set Rows to a number from 1 to 1,000.
  3. Choose JSON, CSV or SQL under Format. For SQL, type the Table name.
  4. Click the Generate button, which reads Generate 10 Rows by default.
  5. Copy the output or download it as a file.

03Worked examples

Input: Default fields (id, firstName, lastName, email, createdAt), Rows: 2, Format: JSON
Result: [ { "id": "c79acfc8-65e6-4a9d-839f-b9a747ed7047", "firstName": "Ava", "lastName": "Rodriguez", "email": "[email protected]", "createdAt": "2026-03-30" }, ... ]
One real run, trimmed to the first row. The email uses a different random name from firstName and lastName.
Input: Fields: firstName, city, company, isActive; Rows: 3; Format: CSV
Result: firstName,city,company,isActive Susan,New York,InnoSoft,true Amelia,Los Angeles,PulseDigital,true Ava,Denver,CloudNine,true
Values are random, so your run will differ. Booleans print as true or false in CSV.
Input: Fields: id, username, isActive; Rows: 2; Format: SQL; Table: users
Result: INSERT INTO users (id, username, isActive) VALUES ('bbc939a5-4544-4ec4-895b-1d520290d1fa', 'james974', FALSE); INSERT INTO users (id, username, isActive) VALUES ('10d4a760-7e88-4126-a7d5-0bfd7e3442e5', 'daniel537', TRUE);
Strings are single-quoted and booleans become TRUE or FALSE.
Input: Fields: phone, address, zipCode, ip, website; Rows: 1; Format: JSON
Result: [ { "phone": "+1 (300) 693-1762", "address": "5470 Cedar Ln", "zipCode": "58313", "ip": "155.232.203.45", "website": "https://harris.example.com" } ]
zipCode is a string. The IP is a random IPv4 value, not a reserved test range.

04Common use cases

  • Seeding a local Postgres or MySQL users table with a few hundred INSERT rows
  • Producing a CSV with a header row to test a bulk import screen and its validation messages
  • Feeding a React data table JSON while the real endpoint is still being built
  • Filling a demo or screenshot with names and companies that clearly aren't real customers
  • Checking how a layout copes with long city names, job titles and company names
  • Making sample rows with isActive flags to test a filter or toggle in an admin panel

05Tips

  • Save the file if your tests need the same rows every run. Clicking Generate again gives completely new values.
  • The email is built from its own random name, so don't write tests that expect it to match firstName and lastName.
  • Create the target table first. The SQL uses the field names as column names, such as createdAt and isActive, and quotes every value except booleans.
  • If you need documentation-safe IP addresses, swap in ranges from RFC 5737: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24.
  • Don't use the id column where real uniqueness matters. It's built with Math.random, not crypto.randomUUID.

06Related concepts

Faker.js, Test fixtures, Seed data, CSV, SQL INSERT, RFC 2606.

Frequently Asked Questions

What is Mock Data Generator?

Mock Data Generator is a free, browser-based developer tool on AIDToolStack. Generate realistic fake data — names, emails, addresses, UUIDs — in JSON, CSV, or SQL. It requires no installation or sign-up and works entirely in your browser.

Is Mock Data Generator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Mock Data Generator store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe