Menu

Switzerland Address & Identity Data Generator

Generate Switzerland addresses and identities in your browser: correctly formatted postal codes, phone numbers and AHV/AVS Number, with the administrative division and city always taken from the same data record so they can never disagree. Every value is synthesised by algorithm and corresponds to no real person, address or account.

Switzerland at a glance

Nationality
Swiss
Official language
German
Currency
CHF CHF
Calling code
+41
Postal code
4 digits · Public postal data
National ID
AHV/AVS Number
Format
"756" . 4 digits . 4 digits . 2 digits
Check digit
Official check digit
Top-level division
Canton
Divisions
26
Cities covered
4099

Switzerland AHV/AVS Number format and check digit

Switzerland's AHV/AVS Number uses the format "756" . 4 digits . 4 digits . 2 digits, and the official check-digit algorithm is implemented — a number this tool generates passes the same validation the real one would.

Switzerland postal code rules

Switzerland postal codes use the format 4 digits. The divisions and cities come from public postal data, so a code's prefix matches the country's actual districts.

Time zone of Switzerland

Switzerland keeps time in Europe/Zurich, UTC+01:00 – UTC+02:00 relative to UTC (UTC+02:00 during daylight saving).

How this is counted: the city zones come from GeoNames' `timezone` field, the main zone is the one holding most of the recorded population, and the largest city behind that choice is Zürich.

What Switzerland data is good for

Four jobs come up again and again with Switzerland records: testing signup and checkout forms, where an address, AHV/AVS Number and phone number in the local format exercise required-field, length and conditional validation; seeding a staging database so screens and API responses have something to render; filling a third-party form that asks for personal details without handing over your own; and demos, screenshots and design mockups, which need records that look real but belong to nobody.

Example address

Full name
Nicolas Näf
Gender
Female
Date of birth
1965-08-23
Full address
Himmelbergstrasse 1, 9108 Gontenbad, Schweiz
Postal code
9108
Phone
+41 78 974 99 89
National ID
756.3947.9074.96
Username
nicolasnf19

The record below is synthesised to show field formats. It is not real information.

Generate Switzerland data now

Generate Switzerland data now

Lawful use of Switzerland data

Every Switzerland address and AHV/AVS Number here is synthesised by algorithm and belongs to no real person, address or account: the 26 divisions and 4099 cities on this page are real place names, while the house numbers, names and numbers are not. The postcode follows the country's real format. The generator guarantees only that the number follows the country's format (the number carries a real check digit and passes the country's format and checksum checks), which does not mean it will not collide with a real person's, so use these records for testing, development, demos and privacy-preserving form filling, never to defraud anyone, pass as another person or circumvent the law. Values are generated locally and never uploaded; the privacy policy and disclaimer linked in the footer carry the full statement.

Frequently asked questions

Are Switzerland test addresses real?

No. Every field is synthesised by an algorithm and corresponds to no real person, address or account. The divisions and cities are real names; the house numbers, names and ID numbers are not.

Does the generated AHV/AVS Number pass validation?

Switzerland's AHV/AVS Number uses the format "756" . 4 digits . 4 digits . 2 digits, and the official check-digit algorithm is implemented — a number this tool generates passes the same validation the real one would.

Can the postal code and city disagree?

No. The division, city and postal code come from one data record: a division is chosen, then a city within it, then a code built from that division's real postal rules.

Can I reproduce the same record?

Yes. The identity key determines every random draw, so the same key, country and gender always produce an identical record — which is what makes it usable as a fixed sample in automated tests.

These answers describe what this site's data and algorithms actually do. Nothing here is a guess.

Other countries

See all supported countries and regions