Home / Free tools / Text & Data / Mock Data Generator

Mock Data Generator

Choose columns and a seed to make repeatable fictional test data as CSV, JSON or SQL, with blanks, invalid values and edge cases.

ColumnTypeSettingsBlank %Invalid %Dup. ID %Edge

All data is invented. Nothing is uploaded: the rows are made in your browser.

Runs in your browser. Nothing you paste or choose is uploaded or stored.

What this mock data generator does

A mock data generator makes realistic-looking rows for testing, demos, screenshots and database seeding, without using real people's data. You choose the columns and their types, set a seed and the number of rows, and get CSV, JSON, JSON lines or SQL INSERT statements you can use right away.

The generator is seeded: the same seed, the same columns and the same generator version always produce exactly the same rows. That makes test data repeatable. Share the seed and the settings with a colleague, or use them in a bug report, and they get identical data. Change the seed for a new set.

What it can generate

Test cases that break things on purpose

Good tests need bad data. For each column you can leave a share of the values blank (NULL in JSON and SQL), replace a share with intentionally invalid values (an email without a domain, a date such as 2026-02-30, a number given as text), include edge cases (the minimum and maximum of a range, empty text, text with spaces, quotes, commas, line breaks, accented and non-Latin letters and a 255-character string), and inject duplicate IDs. Use them to check that your importer, validation and database constraints reject or handle what they should.

Worked example

Load the products preset and press Generate: you get 50 rows with an ID, a SKU such as SKU-4821-QH, a three-word title, a price between 0.99 and 199.99, an in-stock flag that is true about 80% of the time, a category and an added date. Switch the format to SQL to get INSERT statements for a table called products, or to JSON for an array of objects. Add 10 in the Invalid % column of the price column to get a few broken values for testing.

Limits

The data is random and has no real-world meaning, so it does not follow real statistics, relations between columns or business rules. Names are invented and may resemble real names by chance. The tool makes up to 10,000 rows at a time and up to 60 columns. Do not use the output as a real identity, card or account number; the generator does not create those. SQL output uses standard double-quoted names and single-quoted values; check it against your database dialect. CSV cells that begin with =, +, - (except numbers) or @ are prefixed with an apostrophe so that spreadsheets do not run them as formulas.

Questions

What is a seed in a data generator?

The seed is the starting value of the random number generator. The same seed with the same settings always gives the same data, so tests are repeatable.

Is the generated data real?

No. Names are invented, emails use example.com, example.org and example.net, phone numbers use the fictional 555-0100 to 555-0199 range, and IP addresses use reserved documentation ranges.

Can I generate invalid data for testing?

Yes. Set a percentage in the Invalid column to replace some values with intentionally wrong ones, add blanks with the Blank column, and tick Edge to include minimums, maximums and tricky text.

Which formats can I export?

CSV, JSON (an array of objects), JSON lines and SQL INSERT statements for a table name you choose.

Does it upload my schema?

No. Everything is generated in your browser and nothing is sent to a server.

How many rows can I generate?

Up to 10,000 rows and 60 columns at a time.

Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.