Mock JSON Generator

Generate mock data from a JSON Schema

Runs in your browserUtility04Generators

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

  1. 1Paste a JSON Schema (the JSON Schema generator can infer one from a sample first).
  2. 2Set how many records to generate.
  3. 3Click "Regenerate" for a fresh batch of data.
  4. 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 tools