---
id: "ch_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["CH"]
langs: ["de", "fr", "it"]
quality: 100
url: "http://registry.apicrafter.io/datatype/ch_postcode"
---

# Swiss postal code (`ch_postcode`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Postal code (Postleitzahl, numéro postal) in Switzerland: four digits. Liechtenstein uses the same system.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Switzerland (CH)
- Languages: German (de), French (fr), Italian (it)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{3}$
```

## Examples

- `8001` — Zürich
- `3011` — Bern
- `1201` — Geneva
- `0800` (invalid example)

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_CH`

## Supported by tools

- `fta`
- `snowflake`

## Translations

- ru: Почтовый индекс Швейцарии

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Switzerland>
- other: <https://github.com/tsegall/fta/blob/main/SemanticTypes.md>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/ch_postcode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CH/geo/ch_postcode.yaml>
