---
id: "dk_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["DK"]
langs: ["da"]
quality: 100
url: "http://registry.apicrafter.io/datatype/dk_postcode"
---

# Danish postal code (`dk_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 (postnummer) in Denmark: four digits, such as 1050 for central Copenhagen. Greenland uses codes from the same series.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Denmark (DK)
- Languages: Danish (da)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `1050` — Copenhagen K
- `8000` — Aarhus C
- `5000` — Odense C
- `10500` (invalid example)

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_DK`

## Supported by tools

- `fta`

## Translations

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

## Sources

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

## Quality

Score 100/100.

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