FREE, SCHEMA-DRIVEN FIXTURES

JSON test data generator

Describe the fields you need, then generate repeatable JSON records for APIs, tests, prototypes, and demos. Add nested objects, ranges, enums, arrays, or nullable values without an API key.

1 — DEFINE

Build a small schema

One field per line: name:type. Use dots for nesting and ? for nullable values.
Schema syntax and types
  • score:integer(1,100) sets a range.
  • role:enum(admin|viewer) chooses one value.
  • tags:array(new|sale|beta) creates an array.
  • profile.email:email? nests a nullable value.

Basic types: name, email, address, integer, boolean, uuid, date, company, string.

2 — USE

JSON output

Your fixture appears here

Choose a preset or write a schema, then generate.

QUICK ANSWER

How do I generate JSON test data?

Write one field per line using name:type, choose a record count and seed, then select Generate JSON. Reusing the same schema, count, and seed recreates the same fixture for reliable tests and debugging.

Structure
Flat fields and nested objects using dot notation
Constraints
Integer ranges, enums, arrays, and nullable values
Safe contact data
Generated emails use the reserved example.com domain
Output
Formatted JSON ready to copy or download

SCHEMA EXAMPLES

Useful patterns for test fixtures

Combine readable types and constraints to model API payloads without uploading your schema.

Nested API user

id:uuid
user.name:name
user.email:email
active:boolean

Bounded product

sku:integer(1000,9999)
price:integer(10,500)
tags:array(new|sale|featured)

Nullable response

request_id:uuid
status:enum(ok|pending|failed)
message:string?
created_at:date

Predictable JSON without an API key

Reuse the same schema and seed to recreate a fixture during debugging or automated testing. Generated values stay in your browser and use reserved example email addresses. This lightweight syntax is for fixtures rather than full JSON Schema validation.