About the JSON Generator
Create realistic sample JSON for testing and prototyping. Pick a template such as users, products or orders, choose how many records you need, and copy or download.
Key features
- Templates for users, products, orders and blog posts
- Generate 1 to 5,000 records at once
- Realistic names, emails, prices, statuses and ISO dates
- Unique UUIDs for each record where relevant
- Copy or download as a .json file
- No sign-up; generated in your browser
Generate realistic test JSON in seconds
Front-end prototypes, API mocks, database seeds, load tests and tutorials all need sample data. Typing it by hand is tedious and copying production data is risky. The JSON Generator creates realistic, randomized records from ready-made templates.
Templates
| Template | Fields |
|---|---|
| Users | id, uuid, firstName, lastName, email, age, active, city, createdAt |
| Products | id, sku, name, price, currency, inStock, rating, tags |
| Orders | orderId, customer, status, items (product, qty, price), total, placedAt |
| Posts | id, title, author, likes, published, tags, publishedAt |
Sample output (users)
[
{
"id": 1,
"uuid": "2a3b26ad-9f78-44ca-99ce-3eb3432ad1f6",
"firstName": "Grace",
"lastName": "Hopper",
"email": "grace.hopper@example.com",
"age": 41,
"active": true,
"city": "Tokyo",
"createdAt": "2025-03-14T09:26:53.000Z"
}
]
Use cases
- UI development: fill tables, lists and dashboards before the API exists.
- Pagination and virtual scrolling: test with hundreds or thousands of rows.
- Mock APIs: serve the file with json-server, MSW or a static host.
- Database seeding: import into MongoDB (
mongoimport --jsonArray) or convert to CSV for SQL. - Demos and documentation: screenshots without real customer data.
Safe by design
All emails use example.com, a domain reserved for documentation (RFC 2606), so test emails can never reach a real person.
Related tools
Edit the output in the JSON Editor, convert it with JSON to CSV or JSON to Excel, or generate Java models with JSON to Java.
How to use the JSON Generator
- Paste your data into the input box, upload a file, or click Sample to try it out.
- Adjust the options above the editor if you need to (indentation, delimiter, and so on).
- The result appears instantly in the output panel. Any errors are shown with their line and column.
- Click Copy to copy the result, or Download to save it as a file.