Fake Data Generator
Developer ToolsGenerate realistic fake Indian names, emails, phone numbers, cities, and more for testing and development. Export as JSON or CSV — free, browser-based, no sign-up.
What is a Fake Data?
A Fake Data Generator produces realistic but entirely fictional records — names, email addresses, phone numbers, city and state, pincode, and company name — formatted as JSON or CSV, ready to paste into a database seed script, a test fixture file, or a design mockup.
Every application under development needs data. UI components must be tested with realistic names and addresses to verify that text wraps correctly, that truncation works as expected, and that edge cases like long names or unusual characters do not break the layout. Databases need seed data to make local development environments feel realistic. Automated test suites need input fixtures that vary across runs. Using real user data for any of these purposes is a privacy risk and, under India's DPDP Act 2023, potentially a compliance violation.
The generator produces Indian-context data: names drawn from a diverse pool of Indian first names and surnames spanning north Indian, south Indian, Bengali, and Gujarati origins; phone numbers in the +91 [6-9]XXXXXXXXX format matching TRAI allocations; cities and states correctly paired (Mumbai → Maharashtra, Bengaluru → Karnataka); and company names from recognisable Indian companies and tech brands.
For generating individual fake email addresses in bulk, use the Fake Email Generator. For individual phone numbers with more format options, use the Fake Phone Number Generator. For unique IDs to use as primary keys, use the UUID Generator.
How to use this Fake Data calculator
- Set the number of records — enter how many records you need, from 1 to 50.
- Choose the output format — JSON for use in code and database seeds; CSV for spreadsheet and database import tools.
- Click Generate — all records appear in the output field instantly.
- Copy the output and paste into your seed script, test fixture file, or spreadsheet.
- Re-generate to get a fresh set of records — each generation uses a new random seed based on the current time.
Formula & Methodology
Each record is built by selecting items from fixed arrays of Indian first names (50 entries), surnames (40 entries), cities (25 major Indian cities), company names (25 Indian companies), and email domains (6 common providers).
Selection uses a linear congruential generator (LCG) seeded from Date.now() at generation time, with different multipliers per field to avoid correlation between fields within the same record. City and state are always correctly paired — the state is looked up from a fixed city-to-state map rather than generated independently. Phone numbers use a random digit in [6, 9] as the first digit (reflecting TRAI's active mobile allocation) followed by 9 random digits. Pincodes use a random non-zero first digit followed by 5 random digits.