Skip to content

Mock API Generator

Define a simple schema and generate mock JSON records. Includes common types and fast regeneration.

Schema
Define fields and data types to generate.
Output
Generated JSON ready to copy.
Generate data to preview JSON…

What this tool does

It generates realistic JSON records from a small schema so you can prototype UIs, test edge cases, and reproduce bugs faster.

When to use it
  • UI prototyping and empty/loading states.
  • Testing table/list rendering with realistic values.
  • Creating sample payloads for bug reports.
Tips to get better mocks
  • Include edge cases: empty strings, long names, and null-like values when applicable.
  • Keep counts reasonable to avoid heavy renders.
  • Format the output before sharing.

Related tools and guides

Typical workflow: generate → format → copy.