Mock JSON Generator

Generate realistic mock JSON records for users, products and posts.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

This tool generates formatted, realistic mock JSON records for stubbing an API, seeding a UI, or writing tests. It produces ready-to-paste data for users, products and blog posts without any backend.

How it works

Pick one of three templates and the generator builds that many records by drawing random values from curated lists (names, cities, roles, product words) and computed fields:

  • user — id, uuid, firstName, lastName, email, city, role
  • product — id, name, SKU, price, stock, rating
  • post — id, title, author, views, slug

Numeric IDs increment from 1 so they stay unique, and UUIDs are produced with the browser’s secure crypto.randomUUID() so they are well-formed. You choose the record count and whether a single record is wrapped in an array.

Example

Generating one user record produces JSON like:

{
  "id": 1,
  "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "firstName": "Maya",
  "lastName": "Patel",
  "email": "[email protected]",
  "city": "Lisbon",
  "role": "editor"
}
TemplateKey fields
username, email, role, city
productSKU, price, stock, rating
posttitle, author, views, slug

All records are generated in your browser, so your test data never leaves your machine.

Ad placeholder (rectangle)