Genory
COUNTRY WORKBENCH / CH

Switzerland Test Data Generator

Create synthetic Switzerland profiles for forms, demonstrations and localization tests.

OUTPUT

Your next test starts here

{ }

Preparing your test data…

Your first record will appear here shortly.
Copy individual values or export the entire result.

Synthetic identities; domains, addresses and numbers may coincide with real values. Do not contact or send payments.

Testing Switzerland interfaces

This locale uses de_CH definitions for names and presentation formats. Test text lengths, input handling, exports and Unicode support. City, region and available postal codes come from the same GeoNames locality. See the generated quality note for postal coverage; street and house number remain synthetic.

COUNTRY-SPECIFIC TEST CASES

Testing Switzerland forms

Use a Switzerland profile as a starting point for form tests. This guide focuses on locality names and canton qualifiers. Add the deliberate fixture below to make that behavior repeatable.

Generator locale: de_CH. Suggested application display locale: de-CH. These are separate settings; this guide does not change the generator’s output.

Address reference for Switzerland

Swiss postcodes contain four digits. The UPU guidance adds a canton abbreviation when a locality name is ambiguous, and distinguishes a PO box number from its delivery post office.

Locality names and canton qualifiers

Test a locality field with and without a separate canton qualifier. Do not deduplicate addresses using the locality name alone. The configured German locale is not a claim of coverage for every Swiss language.

A deliberate regression fixture

Editorial regression fixture — shape and preservation tests only
country: CH
locality_label: "Test locality"
canton: "VD"
postal_shape: "9999"
expected: Keep the canton as its own value and preserve it in the formatted label.

These editorial inputs are for controlled tests. They are not verified addresses, guaranteed unassigned contact details, or automatically generated examples.

  1. 01

    Fixture assertion

    Keep the canton as its own value and preserve it in the formatted label.

  2. 02

    Original text

    Add the hand-written input “Neuchâtel” and compare it after saving, copying and CSV import. It is an editorial string, not promised generator output.

  3. 03

    Locale and coverage

    Test de-CH display separately from the stored date-only value. Keep the generated locality coverage note with the record; the address reference does not expand Genory’s dataset.

Address reference: UPU addressing guide: Switzerland. Reviewed 4 October 2026. Postal presentation rules are not universal rules for storing personal names.

Guides for this task

All guides →