Skip to content

Mock JSON GeneratorNew

Generate fake users, products or schema-based JSON for tests.

Runs in your browser · free · no sign-up

Names and emails are obviously fake (@example.test). Nothing here is a real person. The same seed always yields the same list.

Generated JSON

5 records
id: "usr_61955"
name: "Sofia Blake"
email: "sofia.blake23@example.test"
city: "Nairobi"
active: false
}
id: "usr_88643"
name: "Omar Blake"
email: "omar.blake99@example.test"
city: "Izmir"
active: true
}
id: "usr_63682"
name: "Clara Nilsen"
email: "clara.nilsen9@example.test"
city: "Oslo"
active: true
}
id: "usr_59545"
name: "Hana Qureshi"
email: "hana.qureshi18@example.test"
city: "Valencia"
active: true
}
id: "usr_23976"
name: "Idris Nilsen"
email: "idris.nilsen83@example.test"
city: "Busan"
active: false
}
]

About the Mock JSON Generator

Front-end and contract tests need lists of users and products without using real customer records. This generator builds invented names and @example.test emails, and repeats the same list when you reuse a seed.

Tests and demos need data that looks real enough to exercise a form, but must not be someone’s actual name, email or phone number. This generator builds invented records on the page. Emails use the reserved example.test domain, names come from a fixed pool, and cities are ordinary place names used as labels, not as a statement about a living person.

Choose a preset for users, products or orders, or switch to a schema object whose values are types such as name, email, city, id, int, price, boolean, date, word or uuid. The count and seed control the batch. Reusing the same seed in a CI job keeps snapshots stable, while changing the seed gives you a fresh but still fake list.

There is no link to any identity database and no “real user” mode. If you need production-like volume, copy the JSON into your own fixtures or mock server. The output is also handy when you want a sample to feed into JSON to TypeScript or the JSONPath tester.

How to use the Mock JSON Generator

  1. 1Choose Users, Products or Orders, or switch on a custom schema.
  2. 2Set how many records and a seed if you want a repeatable list.
  3. 3Copy the JSON into a test fixture or mock server.

Key features

  • User, product and order presets.
  • Optional schema with named field types.
  • Repeatable output from a numeric seed.
  • Count from 1 to 200 records.
  • Copyable JSON and a tree view.
  • Clearly fake emails and names.

Practical uses

  • Populating a table component in a unit test.
  • Giving a designer a realistic but harmless payload.
  • Seeding a mock API during front-end work.

Tips and common mistakes

  • Commit the seed next to the fixture if you snapshot the output.
  • Keep using example.test or example.com in any extra fields you add by hand.
  • Generate TypeScript types from one record, not from the whole array, if you only need the item shape.

Limitations

  • The name lists are short on purpose; they will repeat in large batches.
  • It does not produce photos, government IDs or other sensitive-looking documents.

Privacy

Generation is local. Because the data is fake, there is also no personal data to leak, but you should still not paste real exports into the schema field on a shared screen.

Frequently asked questions

Is this real personal data?

No. Names are invented and emails use the example.test domain on purpose.

Why a seed?

The same seed and options always produce the same list, which keeps tests stable.

How does a schema work?

Write a JSON object whose values are types such as name, email, city, id, int, date or boolean.

Can I use this as production customer data?

No. It is for tests and demos only, and the values are deliberately not real people.

Why not Faker.js?

A small seeded generator keeps the page light and avoids shipping a large locale library.

Related tools

OpenAPI ViewerNewPaste an OpenAPI or Swagger document and browse its endpoints.
Webhook Payload ExplainerNewExplain Stripe, GitHub and Slack webhook samples, field by field.
GraphQL Formatter & TesterNewPretty-print GraphQL and run queries against an endpoint.
HTTP Headers ParserNewParse headers and audit CORS, cache and cookie flags.