Official directory of towns and cities with postcodes and perimeters
Directory of all localities in Switzerland with postcode, municipality and canton, including the locality boundaries. Basis for address validation and for assigning postcodes to municipalities.
Data access
- CSV
- SHP
- GeoPackage
- Use the APIAPI
GeoAdmin API: query federal geodata
The same data for software, retrieved automatically.
Preview
First 6 rows of “Directory of localities (table)” (CSV) – check the content before you download.
Use “Preview” under Data access to look into the other files.
| Locality | Postcode | Additional digit | Municipality | FSO no. | Canton |
|---|---|---|---|---|---|
| Zürich | 8001 | 0 | Zürich | 261 | ZH |
| Bern | 3011 | 0 | Bern | 351 | BE |
| Biel/Bienne | 2502 | 0 | Biel/Bienne | 371 | BE |
| Thun | 3600 | 0 | Thun | 942 | BE |
| Lausanne | 1003 | 0 | Lausanne | 5586 | VD |
| Lugano | 6900 | 0 | Lugano | 5192 | TI |
Scroll sideways to see all 6 columns.
Details
- Update frequency
- Monthly
- Area covered
- Switzerland
- Languages
- German, French, Italian, English
- Themes
- GeographyAdministration
- Keywords
- postcodeZIP codelocalitymunicipalityaddress
- Identifier
- ds-localities-postcodes
- Permanent link
- http://localhost/catalogue/ds-localities-postcodes
Relationships
Uses code list / standard (2)
This entry uses these code lists or standards. Data that uses the same code list can be combined easily.
Available via API (1)
The data can also be retrieved automatically via these APIs.
Showcases
Applications, visualisations and stories that use this data.
Questions and answers (1)
- P. Ackermann· 30.07.2026Answered
Is the directory also available with the coordinates of the locality centre?
Answer from Sabine Wyss, swisstopo · 03.08.2026
Yes, the GeoPackage also contains a centre point for each locality.
Prototype: questions are stored in the test database (or in this browser without a database). In the real platform they are sent to the data provider and the answer is published here. Your questions are listed in your account under “My feedback”.
About this entry
Metadata quality
- Updated
- 01.10.2026 (automated)
- First published
- 01.03.2015
- Source
- Imported automatically from geocat.ch
Export metadata
Machine-readable serialisations of this record, for reuse in other catalogues and applications.