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
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
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
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
- JSON to TypeScript Interface Developer Instantly convert any JSON object into clean TypeScript interfaces. Free online tool — supports nested objects, arrays, and optional fields. No install needed.
- ASCII Table Generator Developer Free ASCII table generator — create plain-text tables in MySQL, Markdown, Unicode and more styles. Paste CSV or type data, copy output in one click. No signup.
- CSV ↔ JSON Converter Developer Convert CSV to JSON or JSON to CSV instantly in your browser. Paste your data, choose the direction, and download the result. Free, private, no signup.
- JSON Formatter & Validator Developer Free online JSON formatter & validator — format, validate, minify, and export JSON to CSV. Tree view, graph view, and syntax highlighting. No install needed.
- JSON Schema Validator Developer Free online JSON Schema Validator — validate JSON data against any schema (Draft-07, 2019-09, 2020-12) instantly in your browser. No install, no sign-up.