Generators
JSON Dataset Generator
Generate JSON Dataset
Number of Records
Maximum 10,000 records per generationPretty print JSON (formatted with indentation)
JSON
Tool features
Multiple Dataset Types
Customizable Fields
Instant Download
Preview & Copy
What is JSON sample data & how it works
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.
How to use this tool
Related tools
Frequently asked questions
{"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.mongoimport --db test --collection users --file users.json --jsonArray. The --jsonArray flag is needed because the file is a single array.