What Is a Mock Data Generator?
A mock data generator creates realistic sample datasets for testing, prototyping, and development. Instead of manually typing placeholder values, this tool generates names, emails, addresses, phone numbers, dates, UUIDs, and more — in JSON, CSV, or SQL format. Use it to populate database seeds, API mock endpoints, UI components, or test scripts.
Why Use Mock Data?
Realistic test data catches bugs that 'test123' never will. Mock data with proper formats exposes validation edge cases, tests pagination and sorting logic, and makes demos and screenshots look professional. Generated data is also privacy-safe — no risk of accidentally shipping real user information in test environments.
How to Use This Tool
- Choose your fields — Select from available data types like Name, Email, Phone, Address, UUID, Date, Number, and more.
- Set the row count — Choose how many records to generate — from a handful for quick tests to hundreds for load testing.
- Pick your output format — Select JSON, CSV, or SQL output depending on your use case.
- Generate and copy — Output updates as you change fields, rows or the seed; click Generate for new values or Copy to put the output on your clipboard. Keep the seed to get the same rows again.
Worked example: safe test data, before and after
Mock data ends up in staging mail queues, screenshots and public docs, so every value should be impossible to confuse with a real person, server or phone line. On October 13, 2026 we generated 100 sets of 100 rows with every field turned on, in Chromium, and checked each value against the reserved ranges:
| Field | Before (v207) | Now |
|---|---|---|
| first.last at gmail.com, yahoo.com and 5 other real providers | first.last@example.com, .org or .net (RFC 2606 reserved), a number added on a repeat | |
| Duplicate emails | repeated in 56% of 100-row sets | 0 of 100 sets |
| City / region / postcode | picked separately: 9% of rows matched ("Seattle, FL") | one record per row, all 24 checked on zippopotam.us: 10,000 of 10,000 rows consistent |
| Phone | (200–999) 200–999-xxxx, real-looking | (area code) 555-0100 to 0199 (NANP fictional range); UK rows use Ofcom drama numbers |
| IP address | any 1–255.x.x.x, mostly public | 192.0.2.x, 198.51.100.x, 203.0.113.x (RFC 5737) |
| URL | https://smith.com/… (real domains) | https://acme-corp.example/… (.example is reserved) |
| Country | included "UK" | ISO 3166-1: US, CA, GB |
| Repeatable | no seed | seed field: the same seed and settings give the same rows |
| CSV | a value with a quote broke the row | RFC 4180 quoting (quotes doubled, line breaks quoted) |
In the 10,000 rows: 0 emails outside the example domains, 0 URLs outside .example, 0 IPs outside the three documentation blocks, 0 phone numbers outside the fictional ranges, 0 rows whose city, region and postcode disagree, and each seed produced the same data twice.
- Why the reserved names. RFC 2606 reserves example.com, example.net and example.org and the .example and .test top-level domains so documentation and tests never point at a real site; RFC 6761 tells resolvers to treat .test and .example specially. Mail to those domains goes nowhere.
- Why 555-01xx. The North American Numbering Plan Administrator keeps 555-0100 to 555-0199 for fictional use; other 555 numbers can be real directory services. Ofcom publishes equivalent drama ranges for the UK, such as 020 7946 0000–0999 for London and 0161 496 0000–0999 for Manchester.
- Postcodes are real places. Each city comes with a real central postcode (for Canada and the UK, the postal district only), so geocoding and address-form tests behave sensibly. Street numbers and names are made up.
- Up to 1,000 rows per run, generated in your browser. UUIDs come from the seeded generator so they repeat with the seed; do not use them as secrets.
Sources
Checked on .
- IETF RFC 2606: Reserved Top Level DNS Names
- IETF RFC 6761: Special-Use Domain Names
- IETF RFC 5737: IPv4 Address Blocks Reserved for Documentation
- NANPA: 555 line numbers (555-0100 to 555-0199 for fictional use)
- Ofcom: Telephone numbers for TV and radio drama
- ISO 3166 country codes (GB for the United Kingdom)
- IETF RFC 4180: CSV format
- Zippopotam.us postcode lookup (24 locations checked)
- IETF RFC 9562: UUIDs, version 4
Related tools
- Generated a test CSV and need to load it into a database? Feed it into the CSV to SQL converter to get back an INSERT script ready to run.
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools