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.
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
Define the fields. Edit the list, or start from an example object and let it work them out.
Choose the response shape. An array, a paged response with
data,metaandlinks, or one object.Set how many items. Up to 1,000. New data picks a new seed for different values.
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-5for 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.