Mock Data Generator
Generate realistic fake test data — names, emails, dates, and more — as JSON, CSV, SQL, or XML, from a schema you build or import.
Prefer the terminal? See the CLI equivalent →About the Mock Data Generator
- Realistic fake data
- JSON, CSV & SQL output
- Send to other tools
- Instant results
- 100% private — runs in your browser
- Free, no sign-up
This tool generates realistic-looking fake data for testing, prototyping, and demos. Define a schema — a list of named fields, each with a type like full name, email, date, or number — choose how many rows you want, and export it as JSON, CSV, SQL INSERT statements, or XML. Everything is generated in your browser; nothing is uploaded.
Generation is seeded, so the same seed always produces the same data. That makes your fixtures reproducible — commit a seed and everyone gets identical rows — while “Regenerate” gives you a fresh random set whenever you want one.
You can build the schema by hand, start from a preset (User, Product, Order), or import a JSON Schema: its top-level properties are mapped to field types automatically (by format, then by name, then by base type), giving you an editable starting point.
How to use it
- Build a schema — add fields and pick a type each, or choose a preset — or switch to “Import JSON Schema” and paste one.
- Set the number of rows and the output format (JSON, CSV, SQL, or XML). For SQL, set the table name.
- Optionally set a seed for reproducible output, or press Regenerate for a new random set.
- Copy or download the result from the output editor’s toolbar.
- Use the “Send to…” buttons to pipe the output into the Types generator, JSONPath, or Data Converter (JSON) — or the XPath Tester (XML).
Common field types
- id / uuid
- Sequential row number, or a random UUID v4.
- fullName / email / username
- Person names and derived contact details.
- integer / float / boolean
- Numeric and true/false values.
- date / datetime
- ISO dates and timestamps within a fixed window.
- word / sentence / paragraph
- Lorem-style text of varying length.
- city / country / streetAddress / company / jobTitle
- Location and business data.
- color / url / ipv4
- A hex color, a URL, or an IPv4 address.
Frequently asked questions
Is the data random or reproducible?+
Both. A seed drives a deterministic generator, so the same seed always yields the same rows — great for reproducible test fixtures. Press Regenerate to pick a new random seed and get a fresh set.
JSON, CSV, SQL, or XML — which should I pick?+
JSON for APIs and JavaScript; CSV for spreadsheets and bulk import; SQL for seeding a database (INSERT statements, with a table name you set); XML when a system expects it. All four come from the same generated rows.
How does importing a JSON Schema work?+
The schema’s top-level properties become fields. Each type is inferred from its format (email, date-time, uuid, uri…), then a name heuristic (a property called “firstName” becomes a first name), then its base JSON type. Nested objects and arrays are skipped, since the output is flat rows. The result is fully editable afterward.
Is the fake data safe to use?+
It is randomly assembled from generic word lists and is not real personal data. Everything is generated locally in your browser and never leaves your device.
How many rows can I generate?+
Up to 1,000 per run, which keeps the in-browser editor responsive. For larger datasets, generate in batches (e.g. change the seed each time).
Works well with
Mock Data Generator chains with these tools — send your result straight on:
Related tools
Barcode Generator
Generate 1D barcodes — CODE128, CODE39, EAN-13/8, UPC-A, ITF-14, MSI, Codabar and more — with live preview, colors, and PNG/SVG download, all in your browser.
OpenAPI Code Generator
Turn an OpenAPI 3.x spec (JSON or YAML) into a typed TypeScript fetch client, or into models for Go, Python, Kotlin, Java, and Zod. Runs entirely in your browser.
PDF Toolkit
Merge, split, reorder, rotate, and delete PDF pages, turn images into a PDF, or export pages as images — entirely in your browser, nothing uploaded.
QR Code Generator
Generate QR codes for URLs, Wi-Fi, vCards, events, email, SMS, geo, phone, and text — with selectable error correction, and PNG/SVG download.
QR Code Reader
Decode a QR code from an image or your camera, entirely in your browser. Reads URLs, Wi-Fi, contacts, and more — nothing is uploaded.
Workflow Builder
Chain multiple tools into a pipeline and run it in one place: decode, convert, format, and generate types in sequence. Runs entirely in your browser.