DevGrill

Mock JSON Generator

Generate realistic fake API responses: names, emails, prices, dates and more.

Runs in your browser

Seed 1: the same fields and seed always give the same data, so share links reproduce it exactly.

Mock response
[
{
"id": 1,
"name": "Luca Adeyemi",
"email": "luca.adeyemi@example.dev",
"company": "Pine Studio",
"city": "Zürich",
"plan": "pro",
"active": true,
"created_at": "2025-11-05T14:38:24Z"
},
{
"id": 2,
"name": "Jade Bauer",
"email": "jade.bauer@example.dev",
"company": "Iron Robotics",
"city": "Seoul",
"plan": "free",
"active": false,
"created_at": "2025-10-22T14:56:56Z"
},
{
"id": 3,
"name": "Nadia Lee",
"email": "nadia.lee@example.org",
"company": "Granite Logistics",
"city": "Dubai",
"plan": "team",
"active": true,
"created_at": "2025-12-14T05:10:56Z"
},
{
"id": 4,
"name": "Luca Tanaka",
"email": "luca.tanaka@example.io",
"company": "Pine Media",
"city": "Toronto",
"plan": "team",
"active": false,
"created_at": "2025-12-17T14:26:07Z"
},
{
"id": 5,
"name": "Sam Hansen",
"email": "sam.hansen@example.org",
"company": "Pine Media",
"city": "Barcelona",
2,238 chars

Fake data that looks real

Building a frontend before the API exists, writing tests, filling a demo or a design: you need JSON that looks like the real thing. List the fields you want and pick what each one is (a name, an email, a price, a date in the past, one of a few statuses…) and get as many items as you need, as a plain array, a paged API response with data and meta, or a single object.

Already have a real response? Paste one object and DevGrill copies its shape, guessing what each field is from its name and value, so you get dozens of similar records. Names, usernames and emails in one item belong to the same made-up person. A seed makes the data repeatable: the same fields and seed always give exactly the same output.

How to use the Mock JSON Generator

  1. Define the fields. Edit the list, or start from an example object and let it work them out.

  2. Choose the response shape. An array, a paged response with data, meta and links, or one object.

  3. Set how many items. Up to 1,000. New data picks a new seed for different values.

  4. Copy or download it. Or send it on to JSON to Types, the Schema Validator or JSON to SQL.

Tips

  • Use One of… for fields with fixed values, like pending, paid, shipped.
  • Whole number takes a range like 1-5 for quantities or ratings.
  • Generate types for your frontend from the same mock in JSON to Types, so data and types stay in step.

Frequently asked questions

Is any of this real personal data?

No. Names are combined at random from short lists, emails use example domains reserved for testing, and phone numbers use the 555 range.

Why does it give the same data every time?

On purpose: generation is seeded, so tests and share links are reproducible. Press New data for a different set.

Can it serve the data at a URL?

No, it generates JSON in your browser; nothing is hosted. Save it as a file for your dev server, or paste it into a mock server like json-server or MSW.

Is anything uploaded?

No. Everything, including the example you paste, stays in your browser.

Related tools