---
id: "dkcprnum"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["pii", "persons"]
country: ["DK"]
langs: ["da"]
quality: 75
url: "http://registry.apicrafter.io/datatype/dkcprnum"
---

# CPR-Number, Personal identification number (Denmark) (`dkcprnum`)

The Danish Personal Identification number is a national identification number, which is part of the personal information stored in the Civil Registration System (Danish: Det Centrale Personregister, Greenlandic: Inunnik Qitiusumik Nalunaarsuiffik).

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Denmark (DK)
- Languages: Danish (da)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(0[1-9]|[12]\d|3[01])(0[1-9]|1[0-2])\d{2}[-]?\d{4}$
```

## Mappings

- dpv: `pd:OfficialID`
- google_dlp: `DENMARK_CPR_NUMBER`
- purview: `Denmark personal identification number`, `EU Social Security Number (SSN) or Equivalent ID`, `EU social security number or equivalent identification`, `EU national identification number`, `EU Tax Identification Number (TIN)`, `EU Tax identification number`
- stdnum: `dk.cpr`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `databricks`
- `dataprep`
- `googledlp`
- `ibmguardium`
- `microsoftpurview`
- `pythonstdnum`
- `snowflake`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Personal_identification_number_(Denmark)>

## Quality

Score 75/100. Missing: examples, negative example, translation.

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