---
id: "de_postcode"
kind: "pattern"
status: "stable"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["DE"]
langs: ["de"]
quality: 100
url: "http://registry.apicrafter.io/datatype/de_postcode"
---

# German postal code (Postleitzahl) (`de_postcode`)

Five-digit postal code (Postleitzahl, PLZ) used in Germany since 1 July 1993, in the range 01001 to 99998. The first digit is the postal zone and the first two digits are the postal region.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Germany (DE)
- Languages: German (de)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:0[1-9]|[1-9]\d)\d{3}$
```

## Examples

- `10117` — Berlin
- `80331` — München
- `01067` — Dresden
- `1011` (invalid example) — four digits, the system used before 1993

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_DE`
- presidio: `DE_PLZ`

## Supported by tools

- `fta`
- `presidio`
- `tableau`
- `talend`

## Translations

- de: Postleitzahl
- ru: Почтовый индекс Германии

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Germany>

## Quality

Score 100/100.

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