About Mock Data Generator
Fill a development database, a demo, a test fixture or a spreadsheet mock-up with data that looks real but belongs to nobody. Start from the users, orders, products or addresses template, or describe your own fields one per line, such as email: email or price: price(5, 80), and get up to 10,000 rows.
Each row is consistent with itself: the email and username are built from the same person’s name, and the city matches its country. Emails use the reserved example.com domains and phone numbers the fictional 555-01 range, so nothing reaches a real inbox or phone. The same seed always gives the same data, which keeps test fixtures stable.
How it works
- Each line of the schema is a field name, a colon and a type, with optional settings in parentheses: integer(1, 100), decimal(0, 5, 1), date(2020-01-01, 2025-12-31), oneOf(red, green, blue), words(4) or boolean(80) for 80% true.
- Other types: id, uuid, firstName, lastName, fullName, email, username, phone, company, jobTitle, street, city, country, countryCode, postcode, latitude, longitude, product, sku, price, word, sentence, paragraph, url, ipv4, color, currency and datetime.
- A ? after the type makes the field empty (null) in about one row in five, for testing how your code handles missing values.
- Values come from a seeded generator, so a given seed and schema always produce the same rows. It is not suitable for anything secret, such as passwords or tokens.
Questions
Could the data belong to a real person?
Names, streets and companies are picked at random from short built-in lists, so a combination may match someone by chance, but nothing is copied from real records. Emails use example.com, example.org and example.net, reserved for documentation, and phone numbers use the fictional 555-0100 to 555-0199 range.
Are the coordinates in the right city?
No. Latitude and longitude are random points anywhere on Earth, independent of the city field. Use them to test parsing and display, not geography.
Which SQL dialect does the export use?
Standard SQL: a CREATE TABLE statement followed by one INSERT per row, with names in double quotes and text in single quotes. PostgreSQL and SQLite read it as is; MySQL needs ANSI_QUOTES mode or the quotes changed to backticks.
How many rows can I make?
Up to 10,000 per run, with up to 60 fields. That is enough for most fixtures and demos while keeping the result quick to view and copy. Change the seed and run again for another batch.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.