
Switzerland address generator
Random Switzerland addresses for software testing. Every postcode is taken from the same dataset record as its city and province, and the address is laid out the way Switzerland writes it.
- A Dataset-matched
- 1,573 cities
- 26 provinces
- Real postcodes
Options
Marktstrasse 69 CH-6222 Gunzwil Switzerland
- City, province and postcode: one GeoNames record
- Street name, number: synthetic
Synthetic test data: not a verified or deliverable address.
- Street
- Marktstrasse 69
- City
- Gunzwil
- Province
- Luzern
- Postcode
- 6222 From datasetThis postcode comes from the same dataset record as the locality and region.
- Country
- Switzerland (CH)
- Coordinates
- 47.192, 8.172 Approximate centre of the locality, not the building
How addresses are written in Switzerland
Layout from Google’s address metadata (libaddressinput), the format data Chrome and Android use for address forms.
[Organisation]
[Recipient name]
[Street address]
CH-[Postcode] [City]
- Required fields
- Street address, city and postcode
- Postcode
- Examples:
2544,1211,1556,3030
Pattern:\d{4} - Provinces
- 26 in the dataset
- Script
- Latin
- Calling code
- +41
- Official lookup
- Postcode finder
About the data for Switzerland
ADataset-matched. Each locality, region and postcode is taken from the same GeoNames postal codes record.
- Localities
- 1,573 · GeoNames postal codes
- Postcodes
- Every postcode comes from the dataset record of its locality.
- Names
- de_CH (country-specific list)
- Streets
- Synthetic names built from common local street words. They are not taken from real maps.
Sample Switzerland addresses
Eight addresses generated with a fixed seed. The city, province and postcode are real; street names and numbers are not.
| Formatted address | Postcode |
|---|---|
| Rebenstrasse 3 CH-5330 Bad Zurzach | 5330 |
| Chemin de l'Église 1B CH-1912 Leytron | 1912 |
| Rue de la Paix 74 CH-1007 Lausanne | 1007 |
| Chemin Antoine Felber 32 CH-1963 Vétroz | 1963 |
| Corso Mazzini, 46 CH-6835 Morbio Superiore | 6835 |
| Dorfweg 2b CH-4242 Laufen | 4242 |
| Mühlerain 6 CH-9410 Heiden | 9410 |
| Mühlerain 70 CH-3029 Bern | 3029 |
Provinces of Switzerland
Pick one in the generator above to keep every address inside it.
| Province | Localities |
|---|---|
| Aargau | 124 |
| Appenzell Ausserrhoden | 15 |
| Appenzell Innerrhoden | 3 |
| Basel-Landschaft | 49 |
| Basel-Stadt | 28 |
| Bern | 243 |
| Fribourg | 65 |
| Genève | 44 |
| Glarus | 14 |
| Graubünden | 70 |
| Jura | 25 |
| Luzern | 78 |
| Neuchâtel | 31 |
| Nidwalden | 9 |
| Obwalden | 8 |
| Schaffhausen | 24 |
| Schwyz | 31 |
| Solothurn | 56 |
| St. Gallen | 79 |
| Thurgau | 52 |
| Ticino | 88 |
| Uri | 12 |
| Valais | 74 |
| Vaud | 135 |
| Zug | 14 |
| Zürich | 202 |
