Mock User Generator

Runs in browser Mocking

JSON fixtures shaped for UI development — consistent ids, ISO timestamps, nested profile and settings objects. Synthetic test data only.

TEST DATA ONLY — all generated names, contacts, identifiers and numbers are synthetic and do not belong to real people or accounts.
Privacy: This tool runs entirely in your browser. Your input never leaves your device.
Loading tool…

What is synthetic test data?

Synthetic test data is generated data — names, addresses, accounts, records — that has the shape, formats and statistical variety of real data without belonging to any real person. It lets teams test validation, imports, reports and load without copying production databases into test environments, which privacy law (in Saudi Arabia, the PDPL) increasingly forbids.

Security note: Every value these generators produce is invented. Use reserved domains and test ranges (example.com, +966 5X numbers that follow the format but are unassigned) and never load a customer export into a test system to "make it realistic".

How to use Mock User Generator

  1. Enter how many users you need (1–500).
  2. Choose id style, nesting and output shape.
  3. 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: yes

Output:

[{ "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.

References

  • Personal Data Protection Law (English translation)Saudi Data & AI Authority (SDAIA) · 2023The Saudi law governing personal data — why test environments should use synthetic data rather than copies of real customer records.
  • RFC 2606: Reserved Top Level DNS NamesIETF · 1999Reserves example.com, example.net, example.org and .test/.example for documentation and testing — the domains to use in fake data.
  • ISTQB GlossaryISTQBThe standard definitions of testing terms — test case, regression testing, severity, priority, boundary value analysis and the rest.