Dummy Data Generator
Generate realistic fake data in JSON, CSV, SQL, or TypeScript. Define your schema and get instant mock data.
Configure your schema above and click Generate Data to create mock data.
Supports JSON, CSV, SQL INSERT, and TypeScript output formats.
Related Tools
From the makers of JSON Knife
New tools every week
Get notified. No spam.
How to Generate Fake Data for Testing
Building a prototype, seeding a database, or writing unit tests? You need realistic-looking data that isn't real. This dummy data generator creates mock datasets with names, emails, addresses, UUIDs, dates, and dozens of other field types — all generated client-side with no external dependencies.
Define your schema with the visual builder: pick field names and types, adjust the row count, and choose your output format. Presets for common shapes (user profiles, e-commerce orders, blog posts, API responses) let you start generating in one click. Need a custom enum? The "Custom" field type lets you define your own list of values.
Output in JSON for API mocking, CSV for spreadsheet imports, SQL INSERT statements for database seeding, or TypeScript for typed mock arrays. Everything runs in your browser — no data is sent to any server, so you can safely generate test data that matches your production schema without privacy concerns.
Tips
- Use the "Custom (Enum)" field type to generate data from your own list of values — great for status fields, categories, or role names.
- SQL output includes a configurable table name. Change it to match your actual database table for quick copy-paste seeding.
- TypeScript output generates a typed interface alongside the data array — useful for type-safe mock data in frontend tests.
- The credit card numbers generated are Luhn-valid test numbers (Visa-like format) — they will pass basic format validation but are not real card numbers.