Mock Data Generator Online: Fake JSON and CSV Data
Build a list of fields, choose how many rows you want, and get fake data as JSON or CSV that is ready to copy or download. Pick from 41 data types such as names, emails, addresses, prices, dates and UUIDs, or paste a JSON schema to fill the fields for you. Up to 100,000 rows are made in your browser in about a second, and a random seed lets you repeat the exact same data.
How to generate mock data
- Under Fields, start from the four rows already there: id (UUID), name (Full name), email (Email address) and birthdate (Birth date). Rename a field in the Field name box, or remove one with its trash button.
- Press a field's data type to open the picker, type in Search data types to find one, and choose it. Press Add field for more, up to 100.
- Set Rows (From 1 to 100,000) and choose JSON or CSV under Output format.
- Press Generate. A long run shows its progress, as in Generating… 40%.
- On the result screen, check the line with your row count, size and format, then look at Preview: the first 5 rows. Press Download file to save
mock-data.jsonormock-data.csv, or Copy to put everything on the clipboard. - Press Generate again for a fresh set, or Edit fields to go back and change the setup.
Example: the same fake data as JSON and CSV
With the fields id (UUID), name (Full name), email (Email address), city (City) and price (Price), 3 rows, the United States locale and the seed demo, the CSV output is:
Choose JSON instead and the first row becomes this, with the price as a real number:
Notice that the email does not match the name. Each field is made on its own, which is fine for filling tables and testing layouts, but not for anything that needs an email built from the name.
The 41 data types
The picker groups them, and the search box finds a type by its name.
| Group | Types |
|---|---|
| Basics | UUID, Row number, Random string, True or false, Pick from a list |
| People | Full name, First name, Last name, Username, Email address, Phone number, Job title, Company name, Birth date |
| Places | Street address, City, State or region, Postal code, Country, Country code, Latitude, Longitude |
| Numbers | Integer, Decimal number, Price |
| Dates | Date, Date and time, Future date |
| Text | Word, Sentence, Paragraph |
| Commerce | Product name, Product category, Currency code |
| Web and network | URL, Domain name, IPv4 address, IPv6 address, MAC address, Browser user agent, Hex color code |
- Pick from a list asks for Values, separated by commas (for example red, green, blue) and picks one at random for each row. Values you type are text; an
enumin a pasted schema keeps its numbers and booleans. - Integer (1 to 1,000), Decimal number (0 to 100, 4 decimals) and Price (1 to 500, 2 decimals) have Min and Max boxes, so you can set your own range.
- Row number counts 1, 2, 3 and so on down the rows.
- Dates are ISO text:
YYYY-MM-DD, or ISO 8601 in UTC for Date and time.
Generate fake data from a JSON schema
If you already have a schema, open Paste a JSON schema instead, paste it into the JSON schema box and press Use this schema. The field rows above are filled in, and a note says how many fields loaded and how many had a type it did not know. Those became random strings. You can then edit any row before you generate.
| In your schema | Becomes |
|---|---|
"format": "email" | Email address |
"format": "uuid" | UUID |
"format": "date", "date-time" | Date, Date and time |
"format": "uri", "hostname" | URL, Domain name |
"format": "ipv4", "ipv6" | IPv4 address, IPv6 address |
"enum": [...] | Pick from a list |
"minimum" and "maximum" | Integer or Decimal number with that Min and Max |
A plain object also works, for example {"id": "uuid", "contact": "email"}, where each value names a type. Only the top-level properties are read. It is a quick way to fill the fields, not a full JSON Schema engine, so it does not follow $ref, and nested objects and arrays become random strings. To check your own data against a schema, use the JSON Schema Validator.
Get the same data every time with a seed
Open Advanced settings and type any word or number into Random seed. The same seed, the same fields and the same Data locale give byte-identical data every time, on any day and on any computer. That is useful for tests that compare against fixed fixtures, for bug reports, and for a demo you want to repeat. Change the seed, a field or the locale and the data changes. Leave the seed empty and each press of Generate gives a new set.
Names, addresses and phone numbers in your language
Data locale lists 37 locales, named in your own language. The names, street addresses, cities, postal codes and phone numbers follow the locale you choose, so Japanese, German, Brazilian or Indian test data looks the way real data from there looks. It starts from your page language, and in English from your region (the UK, Australia, Canada and India get their own locale; everything else starts on United States). The field names you type are not translated.
JSON and CSV output details
- JSON is pretty-printed with 2 spaces, as an array of objects. Field order is the order of your rows. Numbers and true or false values are real JSON numbers and booleans.
- CSV follows RFC 4180: a header row, quotes only where a value contains a comma, a quote or a line break, UTF-8 and no byte-order mark. To turn a spreadsheet or JSON file into CSV afterwards, see Convert Excel to CSV Online.
- Generated JSON is easy to inspect and reformat in the JSON Formatter.
The values are random and made up. They do not describe real people, and fields do not relate to each other: a name and an email are made separately, and there are no nested objects or arrays. Date fields fall between 2015 and early 2026.
Limits
- 1 to 100,000 rows and up to 100 fields per run, as long as rows times fields stays at or under 4,000,000 values. So 100,000 rows fit up to 40 fields; with more fields, lower Rows.
- Flat rows only, with one value per field. No nested objects, arrays or links between fields.
- Field names must be unique and not empty, and Pick from a list needs at least one value.
- The preview shows the first 5 rows. Download file and Copy include all of them.
- The first Generate downloads the data tables for your locale, roughly half a megabyte. After that, generating runs in your browser and nothing you enter is sent anywhere.
Frequently asked questions
How do I generate mock data as JSON?
Add a field for each column you need, choose a data type for each one, set Rows, leave Output format on JSON and press Generate. You get a pretty-printed array of objects, one per row, that you can copy or save with Download file as mock-data.json. Numbers and true or false values come out as real JSON numbers and booleans, not text.
How do I generate fake data as a CSV file?
Set up the fields the same way, choose CSV under Output format and press Generate. The first line holds your field names. Values with commas, quotes or line breaks are quoted the standard RFC 4180 way, the file is UTF-8 without a byte-order mark, and Download file saves it as mock-data.csv. Spreadsheets and database import tools read it directly.
Can I generate fake data from a JSON schema?
Yes, within limits. Open Paste a JSON schema instead, paste a JSON Schema with a properties object (or a plain object that maps each field name to a type such as email or uuid) and press Use this schema. It fills the field rows, which you can still edit before you press Generate. It reads type, format, enum, minimum and maximum, but it does not follow $ref, and nested objects and arrays become random strings.
Is this mock data generator free to use online?
Yes. There is no account and no limit on how often you generate. The data is made in your browser, so nothing you type is uploaded.
How many rows can I generate?
From 1 to 100,000 rows in one go, with up to 100 fields, as long as rows times fields stays at or under 4,000,000 values (100,000 rows fit up to 40 fields). A typical set of a few fields and 100,000 rows takes about a second. Only the first 5 rows are shown as a preview, but Download file and Copy give you every row.
How do I get the same fake data every time?
Open Advanced settings and type anything into Random seed, such as demo. The same seed, the same fields and the same Data locale give identical data on any day and on any computer. Leave Random seed empty and every press of Generate gives a new set.
Are the names and emails real people?
No. Every value is random and made up. A generated email address will not match the generated name beside it, because each field is made on its own. A few values can still look like something real, such as a plausible phone number or a company name, so treat the output as test data only.
Can it generate data for other countries and languages?
Yes. Data locale offers 37 locales, listed in your own language. Names, street addresses, cities, postal codes and phone numbers follow the one you pick, for example Japanese names and addresses or German postal codes. It starts from your page language and, for English, your region.
Can it make nested JSON objects or arrays?
No. Each row is a flat object with one value per field. There are no nested objects or arrays, and a pasted schema with them turns those properties into random strings. Fields are also independent, so there are no relationships between them, such as an order that belongs to a customer.
What date range do the date fields use?
Date falls between 1 January 2015 and 1 January 2026. Birth date makes ages from 18 to 80 counted from 1 January 2026. Future date is up to 3 years after 1 January 2026, so some of those dates may already have passed. The anchor date is fixed so a seed gives the same dates on any day.
Is my data uploaded anywhere?
No. The data is generated in your browser, and your field names and schema are never sent anywhere.
Recommended
-
SanDisk 128GB Dual Drive (USB-C + USB-A)Carry a 100,000-row seed file from your laptop to the test machine.
-
Desktop Magnetic Whiteboard with MarkersSketch your tables and their links before you fill them with rows.
-
Logitech MX Master 3S Wireless MouseSeed, query and check the demo data without reaching for the trackpad.
Helps keep the tools free. ✨
Images are for illustration only. As an Amazon Associate I earn from qualifying purchases.