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

# German identity card number (Personalausweis) (`depersonalausweis`)

Serial number (Ausweisnummer) of a German identity card (Personalausweis). Cards issued since 1 November 2010 have nine characters: a four-character code of the issuing authority and a five-character random number, from the digits and the consonants C, F, G, H, J, K, L, M, N, P, R, T, V, W, X, Y and Z (0 is no longer used since November 2021). Microsoft Purview expects the first character to be L, M, N, P, R, T, V, W, X or Y; in the machine-readable zone a check digit follows. Cards issued from April 1987 to October 2010 have a nine-digit number and a check digit. The cards are produced by the Bundesdruckerei and issued by local registration offices and missions abroad.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Germany (DE)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[LMNPRTVWXY][0-9CFGHJKLMNPRTVWXYZ]{8}\d?D?|\d{10})$
```

## Examples

- `LF5HT23N4` — Synthetic number in the format used since 2010
- `TGP2M723J5` — Synthetic number with its machine-readable zone check digit
- `5259324215` — Synthetic number in the format used until 2010, with its check digit
- `CJ383NJ2P` (invalid example) — Passport numbers start with C, F, G, H, J or K
- `525932421501` (invalid example) — Twelve digits

## Mappings

- dpv: `pd:OfficialID`
- google_dlp: `GERMANY_IDENTITY_CARD_NUMBER`
- presidio: `DE_ID_CARD`
- purview: `Germany identity card number`, `EU Social Security Number (SSN) or Equivalent ID`, `EU social security number or equivalent identification`, `EU national identification number`

## Supported by tools

- `amazonmacie`
- `azureailanguage`
- `databricks`
- `googledlp`
- `ibmguardium`
- `microsoftpurview`
- `nightfall`
- `presidio`
- `snowflake`

## Translations

- de: Personalausweisnummer
- ru: Номер удостоверения личности Германии (Personalausweis): Серийный номер немецкого удостоверения личности - с ноября 2010 года девять букв и цифр, до этого девять цифр и контрольная цифра.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/German_identity_card>
- wikipedia: <https://de.wikipedia.org/wiki/Ausweisnummer>
- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-germany-identity-card-number>

## Quality

Score 100/100.

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