Skip to content
TabKiwiTabKiwi

Mock JSON Generator

Define fields and types, then generate an array of fake JSON records, including nested objects.

DeveloperRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Build a small schema by naming fields and choosing a type for each, such as full name, email, UUID, price, date or sentence, and get as many JSON records as you need for fixtures or a prototype API. Dotted names like address.city produce nested objects, and you can sprinkle in nulls to test how your code handles missing values. Generation happens in your browser.

How to use Mock JSON Generator

  1. Add fields and choose a type for each.
  2. Use dots in names to nest objects.
  3. Set the number of records, indentation and an optional seed.
  4. Copy the JSON or download it as a file.

Frequently asked questions

Can I get a single object instead of an array?

Yes. Tick Single object instead of array to generate one record.

Will the same schema give the same records?

Only if you set a seed. Without one, every change or click on Regenerate produces new values.

More Developer tools

View all 91 →