What is Mock JSON Generator?
This mock data generator reads a JSON Schema and produces fake records that match its structure, choosing values by type and format, picking at random from enum lists, and filling in nested objects and arrays. You can generate many records at once, all inside the browser.
How to use Mock JSON Generator
- 1Paste a JSON Schema (the JSON Schema generator can infer one from a sample first).
- 2Set how many records to generate.
- 3Click "Regenerate" for a fresh batch of data.
- 4Copy the results for front-end mocks, API integration or load-test fixtures.
Frequently asked questions
Which JSON Schema keywords are supported?+
type, properties, items and enum, along with the common formats: email, uri, date, date-time and uuid. Composition keywords such as $ref, oneOf and allOf are not supported yet, so inline them before pasting the schema in.
Will the generated data pass my business validation?+
The structure is always correct, but the values are random, so they will not satisfy a rule like "order numbers must start with SO". For fields like that, list the acceptable values with enum in the schema and the generator will pick from your list.
Related tools
All toolsUUID Generator
Generate UUID v4 or v7 in bulk, with optional hyphen removal
ULID Generator
Generate ULIDs and decode the timestamp embedded in each one
NanoID Generator
Generate NanoIDs at an adjustable length
ObjectId Generator
Generate ObjectIds and decode their timestamps
Password Generator
Generate strong random passwords with a configurable character set
Random String Generator
Generate random strings in bulk from a character set of your choice