Mock Data Generator
Generate fake data for testing and development. Export as JSON, CSV or SQL.
The Mock Data Generator creates fake data for software development, testing and prototyping. It uses the Faker.js library to generate names, email addresses, phone numbers, street addresses, company names and more.
Use it to seed a test database, stub API responses, fill UI mockups or build load-test datasets. Generation runs in your browser.
API development
Generate sample data for API responses and testing
Database seeding
Fill databases with test records
UI prototyping
Fill mockups and prototypes with plausible content
Load testing
Create large datasets for performance testing
What is mock data used for?
Developers use mock data in place of production data during development and testing. It fills test databases, API responses and UI prototypes without touching real user data.
Is the generated data realistic?
It looks realistic. The tool uses the Faker.js library, which produces plausible names, well-formed email addresses, real city names and formatted phone numbers. All of it is random and not tied to real people.
What output formats are available?
Three formats: JSON for APIs and JavaScript applications, CSV for spreadsheets, and SQL INSERT statements you can run against your database.
Can I use this data in production?
You can, but it is meant for development and testing. Production systems should use real user data (with consent) or seed data written for your actual business requirements.
Is my data private?
Yes. The tool generates data in your browser and does not send the generated records to a server.
Private by default
The tool generates data in your browser and does not send the generated records to a server.
Related tools
JSON Formatter
Format JSON online in your browser. Paste or upload JSON to tidy it with 2 or 4 space indents, find syntax errors, minify it or browse it as a collapsible tree.
JavaScript to JSON
Convert JavaScript object literals to valid JSON
JSON Merge
Merge two JSON objects online with a deep or shallow strategy and choose how arrays combine. Useful for config files and API responses. Free, no signup.