Mock Data Generator
Generate realistic fake names, emails, addresses & JSON/CSV fixtures for testing.
Generate realistic fake test data fast — names, emails, addresses, UUIDs — and export as JSON, CSV, or SQL fixtures. Free, no signup, runs 100% in your browser.
About Mock Data Generator
The Mock Data Generator is a free, browser-based tool that builds realistic fake datasets — names, emails, phone numbers, addresses, companies, UUIDs, dates, and more — and exports them as JSON, CSV, or SQL INSERT statements for testing and seeding. You define columns by name and type, set a row count, and click Generate; it runs locally using @faker-js/faker (lazy-loaded only when you generate), so nothing is uploaded and there is no signup. Use it to create test fixtures, demo records, or database seed data without writing a faker script yourself.
How to use Mock Data Generator
- Define your columns: each row in the Columns panel takes a Name (the output key/header) and a Type chosen from 16 options like Full name, Email, Phone, Street address, Company, UUID, Number, Boolean, Date (ISO), or URL.
- Add or remove columns with 'Add column' and the trash button, and use the up/down chevrons to reorder them.
- For a Number column, optionally set Min and Max to bound the generated integers (defaults to 0–1000 if left blank).
- Set the Row count (1 to 1000), and optionally enter a whole-number Seed so the same config produces identical data every time (leave blank for fresh random output).
- Click 'Generate data' to populate the result; the faker library loads on first click.
- Pick the Output format — JSON, CSV, or SQL — switching is instant and re-serializes the same data without regenerating; for SQL, set the Table name used in the INSERT statements.
- Use 'Copy' or 'Download' to save the result as mock-data.json, .csv, or .sql.
Frequently asked questions
- Is my generated data uploaded to a server?
- No. Everything runs entirely in your browser — the faker library and serialization execute locally on your device, and no data is ever uploaded.
- Is it free and do I need an account?
- Yes, it's completely free with no signup, account, or watermark.
- What column types can I generate?
- Sixteen types: Full name, First name, Last name, Email, Phone, Street address, City, Country, Company, Job title, UUID, Number (with optional Min/Max), Boolean, Date (ISO format), Lorem sentence, and URL — all powered by @faker-js/faker.
- What output formats are supported?
- JSON, CSV, and SQL INSERT statements. You can switch formats after generating without regenerating, and for SQL you can set the table name used in the INSERT statements.
- Can I make the same data come out every time?
- Yes. Enter a whole number in the Seed field and the same columns and seed will reproduce identical data on every run; leave it blank for fresh random output each time.
- How many rows can I generate at once?
- Up to 1,000 rows per run. The cap keeps generation fast and prevents the browser tab from freezing; column names must also be non-blank and unique.
People also search for
Mock Data Generator is also known as fake data generator, test data generator, dummy data generator, sample data for testing, json test data generator, generate fake names and emails, csv mock data.