Skip to content
toolbelt

Mock Data Generator

Generate JSON test fixtures from a short schema. Describe the fields and get deterministic rows back, so a failing test reproduces from the same seed.

read guide
schema0 ln / 0 ch
json
readytypes: uuid int float bool name email word sentence city country url date ip phone enum id / [x] array / {k:v} object
local / nothing uploaded

About this tool

Generate JSON test fixtures from a short schema. Describe the fields once and get deterministic rows back, so a failing test can be reproduced exactly.

How to use it

  1. Describe fields as name:type pairs, separated by commas.
  2. Set the row count and seed.
  3. Press Generate.
  4. Copy the JSON array into your fixture or database.

Examples

Three fields

id:uuid, name:name, age:int
An array of five objects with those keys.

Limits and notes

  • Some generators produce deliberately implausible values; treat it as shape data.
  • At most 500 rows per generation.

Frequently asked questions

What types exist?
uuid, int, float, bool, name, first, last, email, word, sentence, city, country, url, date, datetime, ip, phone, enum and id.
How do I nest?
Braces for objects: address:{city:city}. Brackets for arrays: tags:[word].
Why is the output the same every time?
The seed drives the generator. Change the seed for a different set.
Is any data sent to a server?
No, generation happens in the page.

Want the details? Read the full guide: Fixtures That Come Back the Same Every Time.