How to use Mock User Generator
- Enter how many users you need (1–500).
- Choose id style, nesting and output shape.
- Generate or Regenerate; download users.json.
Mock User Generator features
- Consistent user objects: id, username, email, names, avatar, role, status, phone, locale, timezone and ISO timestamps
- Optional nested profile, preferences (theme, notifications, 2FA) and stats
- Integer or UUID ids; array, envelope or single-object output
- Seed for stable Storybook stories and snapshot tests
- Synthetic data only — example.com emails and 555 phone numbers
Mock User Generator example
One nested user
Input:
Count: 1, ids: integer, nested: yesOutput:
[{ "id": 1, "username": "andrew_sullivan72", "email": "andrew.sullivan@example.io", "firstName": "Andrew", "lastName": "Sullivan", "role": "admin", "status": "active", "emailVerified": true, "profile": { "jobTitle": "QA Lead", … }, "preferences": { "theme": "dark", … }, "createdAt": "2023-04-02T09:14:31Z" }]Frequently asked questions about Mock User Generator
What does a mock user contain?
id, username, email, first/last/display name, avatar URL, role, status, verification flag, phone, locale, timezone, timestamps and optionally a profile (bio, company, job, location, birth date), preferences (theme, notifications, 2FA) and stats.
Are these real people?
No. Names are drawn from common name lists and combined randomly; emails use reserved example.com domains and phone numbers use the fictional 555 range.
How do I get the same users every time?
Set a seed. Storybook stories, snapshot tests and demos stay stable while Regenerate without a seed gives fresh data.
Can I get a single object or an envelope?
Choose Array, a { data, meta } envelope or a single object from the Shape option, and integer or UUID ids.