Random Address Generator
Generate random fictional addresses for the US, UK, India, Canada, and Australia — for testing and demos.
Written by Anil Gautam · Updated
What does each random address contain?
Each card combines a name built from 20 first names and 20 surnames, a house number from 1 to 999, one of 15 street names, and a city from the chosen country's list with its state or region and one central postcode. The layout follows local conventions. A US card reads like 482 Oak Avenue, then Denver, CO 80202, then United States. An Indian card puts a comma after the house number, as in 245, Station Road, followed by Pune, Maharashtra 411001 and India. UK cards print the postcode on its own line and leave out the county, which still appears in the CSV.
The lists are short: 10 cities for the US, 8 each for the UK and India, and 6 each for Canada and Australia, with one postcode per city. Twenty Indian addresses can therefore contain at most 8 different PIN codes, such as 400001 for Mumbai and 110001 for New Delhi. The same 15 street names, Maple Street and Station Road among them, are used for every country.
Are the phone numbers safe to call?
Yes. Every number comes from a range set aside so that it cannot reach a real person. US and Canadian numbers use the city's real area code with 555-0100 to 555-0199, UK mobiles use 07700 900000 to 07700 900999, the range Ofcom keeps for drama, and Australian numbers come from the list of 0491 57x mobile numbers that ACMA reserves for creative works. India has no such range, so Indian numbers read +91 12345 6 followed by four digits; real Indian mobile numbers start with 6, 7, 8 or 9, so these cannot belong to anyone. For automated tests that actually send texts, use your messaging provider's test or sandbox numbers.
What should testers watch for?
With only 400 possible names, repeats come quickly: in a batch of 20 there is about a 38% chance that two cards share the same full name. If your test data needs unique records, add an index or a value from the UUID / GUID Generator, or use the Fake Data Generator, which also makes email addresses and IDs. Changing the country does not refresh the cards, so click Generate again after switching.
The CSV download, random-addresses.csv, has six quoted columns: name, street, city, region, zip and phone. Its street column joins the number and street with a space, so Indian rows lose the comma shown on the card. Addresses are assembled in your browser with crypto.getRandomValues and nothing is sent anywhere. The Pincode Validator can confirm that an Indian test PIN resolves to real post offices.