Mock JSON API Generator
Generate JSON test data from a custom schema.
How to use
- 1 Add a field for each property, naming it and choosing a type.
- 2 Set how many records you want.
- 3 Click Generate to build the JSON array.
- 4 Copy the JSON or download it as a file.
About Mock JSON API Generator
The Mock JSON API Generator builds a JSON array of fake records that match a schema you define field by field.
For each field, give it a name and pick a type — name, email, number, UUID, boolean or date — then choose how many records you want and generate a clean, indented JSON array in one click.
It is exactly the shape of payload a REST endpoint would return, so you can wire up a frontend, prototype a list or table, write integration tests, or stub an API response before the real backend exists.
Working against realistic mock data lets you build and demo features in parallel with the backend, and the typed fields mean UUIDs look like UUIDs and dates look like dates, so your parsing and rendering code gets a fair test.
The generated JSON is ready to paste into a fixture file, a mock-server config, or a tool like a static JSON host.
Because everything is produced in your browser, no schema or data is ever uploaded.
Define your fields, set a count, then copy the JSON or download it as a file.
FAQ
What field types are supported?
name, email, number, uuid, boolean and date — enough to mock most common API record shapes.
Is the output valid JSON?
Yes. It produces a pretty-printed JSON array of objects that parses cleanly and is ready to drop into a fixture or mock server.