Random JSON Generator
Generate realistic fake JSON data from a template — names, emails, UUIDs, dates and numbers — reproducibly from a seed, then copy or download it.
About this result
Placeholder reference — click to insert
| The record number, from 0 — or from n with index(n). | |
| A random version-4 UUID. | |
| A whole number between min and max, inclusive. | |
| A decimal between min and max, with the given number of decimal places. | |
| true or false. | |
| One value picked from your own comma-separated list. | |
| A first name. | |
| A last name. | |
| A full name. | |
| An email address at example.com, unique per record. | |
| A phone number in the fictional 555 range. | |
| A city. | |
| A country. | |
| A company name. | |
| active, pending, suspended or closed. | |
| One lorem-ipsum word. | |
| n lorem-ipsum words. | |
| A lorem-ipsum sentence. | |
| A date (YYYY-MM-DD) between two dates. | |
| An ISO 8601 UTC timestamp between two dates. | |
| A hex colour such as #3a7bd5. | |
| An IPv4 address. | |
| A URL on example.com. | |
| A JSON null. |
What It Does
This generator fills a JSON template with fake but realistic data. You write the shape you want — any objects, arrays and fixed values — and drop placeholders such as {{name}}, {{email}}, {{uuid}}, {{int(1, 100)}} or {{date(2024-01-01, 2024-12-31)}} where the data should vary. It produces as many records as you ask for, with numbers and booleans as real JSON types, and the same seed always gives the same data, so a fixture can be regenerated exactly.
When to Use It
- You are building a front end before the API exists and need a realistic response to code against.
- You need a reproducible fixture for unit or integration tests.
- You are load-testing an endpoint or a database import and need a few thousand plausible records.
- You want screenshots or a demo that look real without exposing any real customer data.
Worked Examples
{
"id": "{{uuid}}",
"name": "{{name}}",
"email": "{{email}}",
"age": "{{int(18, 80)}}"
}
Five user records. id and email are strings, age is a real number — because the age string contains nothing but its placeholder.
{
"order": "ORD-{{index(1000)}}",
"total": "{{float(5, 500, 2)}}",
"status": "{{oneOf(paid, shipped, refunded)}}",
"placedAt": "{{datetime(2024-01-01, 2024-12-31)}}"
}
Orders numbered from ORD-1000, with two-decimal totals and a status picked from your own list.
{
"device": "{{company}}",
"ip": "{{ipv4}}",
"tags": ["{{word}}", "{{word}}"],
"healthy": "{{bool}}"
}
Placeholders work inside arrays and nested objects too — each tag is filled separately.
Features
How to Use
1. Edit the template, or click a placeholder in the reference table to insert it. 2. Set how many records you want and, optionally, a seed. 3. Copy the result or download it as a .json file. Keep the seed to regenerate the same data later.
Common Mistakes
- Expecting "{{int(1, 9)}} items" to give a number. A placeholder inside other text is always substituted as text; make the value only the placeholder to get a number or boolean.
- Using random test data in a test without fixing the seed. The test then sees different data on every run and fails intermittently — keep the seed in the test.
- Treating generated emails as deliverable. They all use example.com, which is reserved and never receives mail — good for fixtures, useless for testing an email flow.
Frequently Asked Questions
Related Tools
Data is generated in your browser. None of it is real, and nothing is uploaded.