Mock Data Generator (JSON, CSV, SQL, YAML)
NEWMock data generator for developers: define your columns, pick a row count and get realistic fake rows as JSON, CSV, SQL INSERT or YAML, free in your browser.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
All values are fictional: emails use example.com / example.org, phones use ranges reserved for fiction, IPs use documentation blocks.
Quick Examples
Typical inputs and the results this tool produces.
Overview
This mock data generator builds tables of realistic but fictional records. You list the columns you need — names, emails, phones, addresses, companies, dates, number ranges, booleans, UUIDs, value lists or lorem text — choose how many rows (up to 10,000) and export them as JSON, CSV, YAML or ready-to-run SQL INSERT statements.
Developers use it to seed a local database, fill a UI prototype, write unit tests or demo a feature without touching real customer data. A seed field makes the output reproducible: the same seed, fields and row count always give the same fake data, so test fixtures stay stable.
Everything is generated in your browser. Emails only use the reserved example.com and example.org domains, and phone numbers come from ranges set aside for fiction.
Why use this tool?
- Seed databases without exposing real personal data
- Four export formats from one field list
- Reproducible rows with a seed
- Up to 10,000 rows, generated locally
- Safe values: reserved domains and fiction phone ranges
Features
Custom fields
Add, rename, reorder and remove columns, each with its own data type and options.
JSON, CSV, SQL, YAML
Switch the output format instantly; SQL uses multi-row INSERTs with escaped quotes.
Seeded output
Type a seed to get exactly the same rows again, or roll a new random seed.
Six locales
US, UK, Vietnamese, French, German and Spanish names, streets and cities.
Null ratio
Make any column return NULL for a chosen percentage of rows to test empty states.
Copy or download
Copy the full result or save it as a .json, .csv, .sql or .yaml file.
How to Use
Define fields
Name each column and pick its type; set ranges, dates or list values where shown.
Set rows and format
Choose the row count, output format, locale and, for SQL, the table name.
Generate
Press Generate to apply the seed, or New random seed for fresh data.
Export
Copy the output or download it as a file.