Generators

JSON Dataset Generator

Sample JSON

Generate JSON Dataset

Follow these simple steps to create your custom JSON dataset with realistic test data.

1
Choose Dataset Type
Select the type of data you want to generate
2
Select Users Fields
6 selected
Click fields to toggle • use arrows to reorder columns
ID
First Name
Last Name
Username
Email
Phone
Gender
Date of Birth
Address
City
State
Country
Zip Code
3
Generate Users Dataset
Choose how many users records to generate
Quick presets:

Number of Records

Maximum 10,000 records per generation

Pretty print JSON (formatted with indentation)

JSON

Download Ready-Made JSON Files
Pre-generated files — no setup needed, instant download
Instant Download

Tool features

Comprehensive JSON dataset generation with customizable fields and instant downloads
4 features

Multiple Dataset Types

Generate JSON data for users, customers, companies, products, orders, employees, and books with realistic fake data.

Customizable Fields

Select which fields to include in your JSON dataset. Choose from standard fields or add custom fields as needed.

Instant Download

Download ready-made JSON files with preset record counts (10 to 200,000 records) or generate custom datasets.

Preview & Copy

Preview generated data before downloading. Copy sample records to clipboard for quick testing. Pretty print or minified format.

What is JSON sample data & how it works

Realistic, fake JSON data for testing

JSON is structured text made of objects and arrays, the native format of web APIs and document databases. A dataset here is an array of objects, one per record, so it can be served by a mock API or loaded straight into JavaScript.

Realistic sample data lets you test imports, UIs, reports and performance without touching production data or personal information. Download a ready-made JSON dataset of users, customers, companies, products, orders, employees or books, or generate your own in the browser with the fields and record count you need. Every value is fake, created with Faker.

Ready-made datasets
Pre-built files from 10 up to 200,000 records, ready to download.
Custom generator
Pick the fields and up to 10,000 records; generated locally in your browser.
Synthetic data
Realistic but fake values, safe to share and to use in tests.

How to use this tool

Get a JSON dataset in four steps
1
Pick a dataset type
Choose users, customers, companies, products, orders, employees or books.
2
Choose the fields
Select the columns you need, such as names, emails, addresses, prices or dates.
3
Set the size
Pick a record count up to 10,000 and generate, then check the preview.
4
Download
Save the JSON file, or grab a larger ready-made dataset from the download section.

Frequently asked questions

Common questions about JSON sample datasets
5 Q&A

No. Every name, email, address and number is generated by Faker and does not belong to a real person, so the files are safe to use in tests, demos and bug reports.

The custom generator creates up to 10,000 records in your browser. Ready-made files go up to 200,000 records for load and performance testing.

It is ideal for mocking API responses, seeding MongoDB or Firestore, and front-end prototyping.

Wrap the array in an object keyed by resource name, e.g. {"users": [ … ]}, save it as db.json and run npx json-server db.json to get a REST endpoint at /users. Or return the file from a route in your own app.

Run mongoimport --db test --collection users --file users.json --jsonArray. The --jsonArray flag is needed because the file is a single array.