Mock Data Generator
About this tool
About Mock Data Generator
Build a schema field by field, or start from one of 29 dataset templates, and get up to 10,000 rows of realistic, invented data for prototypes, demos, load tests and database seeds. Templates cover real use cases: app users, CRM customers, e-commerce orders, product catalogues, bank transactions, invoices, payroll, support tickets, IoT sensor readings, API logs, website sessions, flights, hotel bookings, property listings, students and clearly synthetic patients, plus Indian customers, vendors and GST invoices with matching city, state, PIN, PAN and GSTIN formats. Values look real because statuses follow weighted shares and totals are calculated from quantity and price. More than 45 field types include names with matching emails, addresses, dates, ranged numbers, patterns such as INV-####, and lists of your own values. Set a percentage of blanks to test missing data. Output JSON, CSV, SQL INSERT statements with CREATE TABLE for four databases, or a typed TypeScript array. A seed makes the output repeatable. Everything runs in your browser, with no account and no upload. With your own AI key you can describe a dataset and get matching fields to review.
Built and maintained by Abhi JainUpdated
How to Generate Mock Data
- 1
Pick a template or define fields
Click Templates and choose a dataset, or rename fields, change their types and click Add field. Set ranges, list values and Blank % where shown.
- 2
Set rows and seed
Enter how many rows you need (up to 10,000). Keep the seed for repeatable data or click the dice for a new set.
- 3
Choose the output
Pick JSON, CSV, SQL or TypeScript. For SQL, set the table name and database.
- 4
Copy or download
Check the output or Table preview, then copy it or download the file.
Mock Data Generator: questions and answers
Is the generated data real?
No. Every name, email, address and number is invented by the faker library from word lists and random numbers. Any resemblance to a real person is coincidence, so it is safe to use in demos and tests.
What does the seed do?
The seed starts the random number generator. The same seed with the same fields and row count always gives identical data, which keeps snapshot tests, screenshots and bug reports reproducible.
Can I generate data for a SQL database?
Yes. Choose SQL, set the table name and pick MySQL, PostgreSQL, SQLite or SQL Server. You get a CREATE TABLE with typed columns and batched INSERT statements. Use the CSV to SQL converter for data you already have.
Which dataset templates are included?
29 ready-made schemas grouped as People, Commerce, Finance, Product & web, Service, Education & health and India: from app users and e-commerce orders to IoT readings, payroll and GST invoices. Picking one replaces the fields and table name but keeps your row count, seed and output format, and every field stays editable. Indian PAN and GSTIN values follow the official format and check character but belong to no one.
Can I include missing values?
Yes. Set Blank % on a field and that share of rows gets null in JSON and TypeScript, an empty cell in CSV and NULL in SQL.
Can AI set up the fields for me?
Yes. Click AI and describe the data, such as "online orders with status and price in INR". Only your description is sent; AI picks fields from this generator's own types, and the rows are still generated in your browser. It's optional and uses your own AI key (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint), sent straight from your browser to that provider; KissThePDF never sees it. Without a key the tool works exactly the same.
Ready-made Mock Data Generator presets
Related Tools
- CSV to SQLTurn a CSV file into CREATE TABLE and INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server.
- JSON FormatterBeautify, minify and validate JSON with exact error locations, without changing a single value.
- JSON Schema GeneratorGenerate a draft 2020-12 JSON Schema from one or more JSON samples.
- SQL INSERT GeneratorType or paste rows into a grid and get INSERT statements for any major database.
- CSV Viewer & EditorOpen, edit, sort, filter and search big CSV files like a spreadsheet, then export CSV, TSV or JSON.