Generate a sample person record with a first name, last name, city, address, birth date, email, and phone number β one call returns a complete, internally consistent record for use in tests, forms, and demos.
Algorithm
The generator picks a country at random, then draws a first name, last name, city, and street address from data tables scoped to that country (falling back to the country's capital when no city list exists). Birth date is a uniform random date within the last 120 years. Email is built from the normalized first and last name plus a randomly selected provider domain; the phone number combines the country's dialing code with a random digit string 7β15 digits long. When the country resolves to Italy, the record also gets a random municipality and a derived Italian fiscal code so downstream forms that expect that field still validate structurally.
When to use it
- Populate a registration or checkout form during UI development without typing details by hand
- Seed a demo or screenshot with a plausible-looking record instead of "Test Test"
- Generate one throwaway record to sanity-check a schema or a mapping layer
Limitations
Output is fully synthetic and served through a rate-limited server action; it is not deduplicated against real people and can coincidentally match a real name, address, or email β treat any resemblance as coincidence, not a lookup. Fields are internally consistent (the city belongs to the chosen country) but are not validated against postal or telecom formats beyond digit counts. Only one record is returned per submission.
Example
A typical result: first name Ada, last name Lovelace, city London, address Baker Street, 42, birth date 1962-04-11, email ada.lovelace@example.com, phone +44 5518234.