JSON Mock Data Generator

JSON Mock Data Generator

Generate realistic mock JSON data for testing and prototyping — users, products, orders, and custom schemas. Runs entirely in your browser.

Updated April 2026

Reviewed by Rafael Duarte

Ctrl + Enter to Generate · Shift + Enter to Copy · Shift + template
FIELDS
UUID
NAME
USER
EMAI
PHON
ADDR
LORE
ENUM
BOOL
Generating… 10 / 10
MOCK_DATA.json
Generating… 100%

10 / 10

How it works

From template to file in three steps

1. Pick a template

Users, Products, Orders, Blog Posts, or start from scratch with Custom.

2. Adjust fields and record count

Rename fields, change their type, add new ones — from 1 to 10,000,000 records.

3. Generate and download

JSON or CSV — above 10,000 records the file downloads straight away, skipping the preview.

What this JSON mock data generator does

18 field types, two export formats

18 field types

UUID, name, email, phone, number, boolean, date, timestamp, currency, enum, nested address, and more.

Up to 10 million records

Most mock data tools cap out at a few thousand rows — this one generates large datasets without freezing your browser.

RFC-compliant CSV export

Follows RFC 4180 — commas, quotes, and line breaks inside values are escaped correctly.

Pagination envelope

Toggle it on to wrap the output as { data: [...], page, total, perPage }, matching a typical Laravel/Rails/Express response shape.

Runs entirely in your browser

No schema or generated data is ever sent to a server.

Examples

Template
Generated record
Products
{"id":"a87ff679...","name":"Mechanical Keyboard","price":89.99,"in_stock":true}
Orders
{"order_id":"8f14e45f...","customer_name":"Marcus Rivera","payment_status":"PAID"}
Users + pagination
{ data: [...50 users], page: 1, total: 50, perPage: 10 }

When you'll reach for this

The most common scenarios among people who use this tool

Mock an API

Paste the output into Mockoon, json-server, or MSW and have a fake API running in minutes.

Frontend fixtures

Save it as src/fixtures/users.json and import it directly — no more hardcoding sample data inside components.

Database seeding

Download as CSV and load it with COPY (PostgreSQL) or LOAD DATA INFILE (MySQL).

Load testing

Generate millions of rows to stress-test queries, indexes, or ETL pipelines with realistic volume.

BI dashboards and spreadsheets

Load it into Excel, Tableau, or Power BI before the real data source is ready.

Common questions

Large counts skip the preview

Above 10,000 records the file downloads automatically instead of rendering on screen — that's expected, it keeps the browser responsive.

Nested fields inside CSV

Nested objects and arrays get serialized as JSON text inside the CSV cell — that doesn't break the file, it's just how nested data survives a flat format.

Why generate it here

Everything runs in JavaScript inside your browser — no schema or generated data ever leaves your device, and reloading the page clears everything.

Fields with realistic names, emails, and addresses (not {"name":"test"}) get your frontend handling the real shape of data from day one, before the API even exists.

Quick Tools vs. Faker.js

Different tools for different moments

Quick Tools
Faker.js
Zero install
yes
no
Programmatic generation in CI/scripts
no
yes
One-click CSV export
yes
manual
Up to 10M records in one click
yes
requires scripting
Best for rapid prototyping
yes
with setup

Frequently asked questions

Pick a template that matches your API's response shape, customize the field names and types, and turn on the pagination envelope if your API paginates. Paste the output straight into Postman's mock server or an MSW handler.

References

Related article

Mocks, stubs e fakes: as diferenças que importam

Related Tools