Click Generate to create mock data
Generate realistic mock data for testing APIs, databases, or UI components. Choose from 30+ field types including names, emails, addresses, dates, and more.
What is Mock Data Generator?
Mock data generators create realistic fake data for testing, prototyping, and development. Instead of using real user data (which raises privacy concerns) or manually creating test records, generate thousands of realistic entries instantly. Mock data includes realistic names, emails, addresses, dates, and other formats that match production data structure.
How to Use
- Add fields with custom names (id, name, email, etc.)
- Select field type from 30+ options (UUID, firstName, email, etc.)
- Set number of records to generate (1-1000)
- Choose output format (Array or wrapped Object)
- Click Generate to create JSON mock data
- Copy the output for use in tests or prototypes
Why Use This Tool?
Tips & Best Practices
- Match field names to your actual database schema
- Use UUID for primary keys, id for sequential integers
- Generate multiple batches for large datasets
- Use Custom List for specific options (status fields)
- Include timestamps for time-based testing
- Combine with JSON Validator to verify structure
Frequently Asked Questions
What field types are available?
Over 30 types: UUID, ID (integer), firstName, lastName, fullName, email, phone, address, city, country, company, jobTitle, date, dateTime, timestamp, age, price, boolean, color (hex), avatar URL, image URL, URL, username, password, sentence, paragraph, word, number, float, IPv4, IPv6, MAC address, user agent, credit card, and custom list.
Can I use this data in production?
No - this is mock/fake data for testing only. Emails go to example.com (not real addresses), credit card numbers are test-format only, addresses are randomly generated. Never use mock data in production systems or send to real services.
How many records can I generate?
Generate 1 to 1000 records per batch. For larger datasets, generate multiple batches and combine them. The tool generates data client-side, so very large batches may affect browser performance - 100-500 records is optimal per generation.
What's the difference between date and timestamp?
date generates ISO date strings (YYYY-MM-DD). dateTime generates full ISO datetime strings with time (YYYY-MM-DDTHH:MM:SSZ). timestamp generates Unix timestamps (seconds since epoch). Choose based on your application's date format requirements.
How do I create specific field values?
Use 'Custom List' type with comma-separated options. For example, status field could use Custom List with 'active, pending, cancelled, completed'. The generator randomly picks from your list for each record.
Is the generated data realistic?
Yes - names, emails, addresses, companies follow realistic patterns. Emails use common [email protected] format. Addresses use realistic street names. However, data is randomized - you won't get the same results twice, and combinations may not match real entities.