StacckApp

API Mock Data Generator

Define an API response shape (fields + types) and generate N realistic fake records. Copy or download as JSON. 100% in your browser.

Fields

{
  "id": "cca798a1-56f3-464d-a82e-23185f06c54a",
  "name": "Maya Brown",
  "email": "[email protected]",
  "age": 9500,
  "active": true,
  "created_at": "2025-06-05T08:17:55.486Z"
}

About this tool

Define the shape of an API response by adding fields (each with a name and type), then generate any number of fake records. Useful for seeding databases, populating test fixtures, or mocking REST API responses. Everything runs locally — no fake data ever leaves your browser.

Supported field types: string, number, integer, boolean, uuid, email, url, date (ISO 8601), name, lorem (random text).

About API Mock Data Generator

The API Mock Data Generator builds sample JSON from a shape you define. Add fields, assign each one a type such as name, email, number, or date, choose how many records to produce, and the tool generates that many fake objects. You can copy the output or download it as a JSON file.

The generation runs in your browser, so the field definitions and the data produced stay on your device. The result is suited to seeding a database during development, populating a UI before the real API exists, or creating fixtures for automated tests.

Frequently asked questions

Is the generated data real?
No. The records are randomly generated placeholders meant for testing and do not represent real people or accounts.
How many records can I generate at once?
You set the record count yourself; pick a number that fits the size of test set you need.
What output format do I get?
The tool produces JSON, which you can copy to the clipboard or download as a file for use in your project.