Data & CSV

Mock Data Generator

Mock Data Generator

Generate realistic fake data from a schema as JSON, CSV, SQL or TypeScript, with a seed.

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. 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. 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. 3

    Choose the output

    Pick JSON, CSV, SQL or TypeScript. For SQL, set the table name and database.

  4. 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