Random Test Data Generator
Generate realistic placeholder data (users, addresses, UUIDs) in JSON or CSV for testing APIs and databases.
Last updated: March 25, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Random Test Data Generator?
Testing applications, designing interfaces, and benchmarking databases require large sets of realistic data. Hardcoding "Test User" and "test@example.com" quickly fails to uncover edge cases like exceptionally long names, international characters, or formatting validation errors.
This tool acts as an instant, in-browser version of popular Faker libraries. It generates structured JSON or CSV arrays of randomized profiles containing names, emails, addresses, job titles, companies, phone numbers, and UUIDs. The generated data looks like real user data but is entirely fictional and syntactically consistent, making it perfect for UI prototyping, automated testing payloads, or database seeding.
How to Use Random Test Data Generator
Select how many records to generate (e.g., 10, 50, 100)
Choose which data fields to include by checking the boxes (Name, Email, Phone, Address, UUID, etc.)
Select your preferred output format: JSON (array of objects) or CSV (tabular)
Click "Generate Data" to instantly create the randomized dataset
Click the "Copy Data" or "Download" buttons to export it to your clipboard or a file
Common Use Cases
- Generating seed data arrays for development databases (MongoDB, PostgreSQL, MySQL)
- Creating realistic mock API payloads to test frontend components before the backend is ready
- Populating design prototypes (Figma, Framer) with varied name lengths to test text wrapping
- Generating bulk CSV data to test Excel or Google Sheets import scripts
- Creating PII-free data sets for load testing or performance benchmarking
- Testing form validation logic with pseudo-realistic formatted phone numbers and zip codes
- Providing dummy user data for a technical tutorial, demonstration, or presentation
- Generating unique UUIDs and random timestamps for event-logging mock data
Example Input and Output
Example of generating a 3-record JSON mock dataset with ID, Name, and Email:
Records: 3
Format: JSON
Fields Selected:
✓ ID (UUID)
✓ Full Name
✓ Email[
{
"id": "e98e4f5a-35e6-42d1-9dc5-8f6b5b5c9284",
"fullName": "Eleanor Vance",
"email": "eleanor.vance65@example.com"
},
{
"id": "7b231da6-a578-4cd7-b4d2-f1eec5b43de2",
"fullName": "Marcus Chen",
"email": "mchen_dev@example.net"
},
{
"id": "1c7a4b92-88ef-4632-bd91-32efc74b8655",
"fullName": "Sophia Martinez",
"email": "smartinez.1992@example.org"
}
]No Server Involved
All data generation happens entirely via JavaScript within your browser. There is no server-side database of users being queried, meaning the generation is highly secure and works offline.
Data Seeding Tip
If you are seeding a relational database with this CSV, ensure you generate the "UUID" field as your Primary Key rather than relying on auto-incrementing integers, especially if you plan to import this data across distributed environments.
JSON Viewer Integration
If you are generating large JSON datasets, the browser might struggle to display thousands of lines in the preview window. The fastest way to handle large datasets is to click "Download .json" immediately rather than trying to scroll through the preview.
Frequently Asked Questions
Are the generated names and emails real?
Are the UUIDs truly random and unique?
Can I generate thousands of records at once?
Is the data generation deterministic (can I get the same data twice)?
What is the difference between JSON and CSV output here?
Why are all the phone numbers formatted the same way?
How This Tool Works
When you trigger data generation, a loop iterates for the requested number of records. In each iteration, an empty object is created. Based on the selected checkboxes, helper functions pick random elements from predefined arrays (first names, last names, street names, cities, job titles). Emails are constructed by concatenating the chosen first and last names, replacing spaces, appending a random integer, and appending a dummy domain. The finalized array of objects is either serialized via JSON.stringify(data, null, 2) or mapped into a CSV string using standard string concatenation with comma delimiters.
Technical Stack