Datatypes

Finnish personal identity code (HETU)

ID fi_hetu

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Henkilötunnus, the personal identity code of people registered in Finland. It is the date of birth (DDMMYY), a century sign (+ for the 1800s, - or one of Y, X, W, V, U for the 1900s, A to F for the 2000s), a 3-digit individual number (odd for men, even for women; 900 to 999 for temporary codes) and a check character - the nine-digit number DDMMYYZZZ modulo 31, looked up in 0123456789ABCDEFHJKLMNPRSTUVWXY.

Categories
Personally identifiable information, Person related
Countries
Finland
Languages
Finnish, Swedish
W3C DPV
pd:OfficialID
Google DLP
FINLAND_NATIONAL_ID_NUMBER
Microsoft Purview
Finland national ID, 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
python-stdnum
stdnum.fi.hetu
Check digit
fi_hetu
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
AWS Glue Sensitive Data Detection, Azure AI Language PII detection, DataPrep, Google Cloud Sensitive Data Protection (DLP), IBM Security Guardium Analyzer, Microsoft Purview Data Loss Prevention, OpenMetadata auto-classification, python-stdnum

Regular expression

^(?:0[1-9]|[12]\d|3[01])(?:0[1-9]|1[0-2])\d{2}[-+A-FU-Y]\d{3}[0-9A-FHJ-NPR-Y]$

Python re syntax.

Examples

ValueDescription
241060-268NSynthetic number with a valid check digit
271117A736DSynthetic number with a valid check digit
131052-308TWorked example from Wikipedia
131052-308U invalidCheck character does not match
241060-268N7 invalidOne character too many

Translations

LanguageNameDescription
FinnishHenkilötunnus (HETU)
SwedishPersonbeteckning

Sources

Use this record