The Finnish Henkilötunnus: Control Character and the 2023 Century Signs
How the Finnish personal identity code is built, how the mod 31 control character works and why systems must accept the 2023 century signs.

The Finnish Henkilötunnus: Control Character and the 2023 Century Signs
The Finnish personal identity code, henkilötunnus or hetu, has been stable for decades, until 2023, when new century signs were introduced. Many systems were not ready and rejected real codes. The Finland Personal Identity Code Validator accepts all current formats; this guide explains the code.
The structure
A personal identity code looks like 131052-308T:
- 131052: date of birth, 13 October 1952.
- -: the century sign.
- 308: the individual number. Odd numbers are given to men and even numbers to women. Numbers 900 to 999 are temporary codes.
- T: the control character.
The century signs
Until 2022:
- + for people born in the 1800s,
- - for the 1900s,
- A for the 2000s.
Because individual numbers for some popular birth dates were running out, the Digital and Population Data Services Agency introduced new signs from 1 January 2023:
- Y, X, W, V, U for the 1900s, in addition to -,
- B, C, D, E, F for the 2000s, in addition to A.
The new signs are given to new codes only; existing codes do not change. Systems that accept only +, - and A must be updated.
The control character
Take the six digits of the date and the three digits of the individual number as one nine-digit number. Divide it by 31 and look up the remainder in this list:
0 1 2 3 4 5 6 7 8 9 A B C D E F H J K L M N P R S T U V W X Y
The letters G, I, O, Q and Z are left out to avoid confusion with similar characters. For 131052308, the remainder is 25, which is T.
Temporary codes
People who need an identity code before they are registered, for example in healthcare, can get a temporary code with an individual number of 900 or above. These codes are valid but should not be used as permanent identifiers.
Uses
The identity code is used in healthcare, pensions, taxation, banking and strong electronic identification. Finland plans a reform to introduce a code without information about sex and age, but the current codes will remain in use.
Privacy
The identity code is personal data, and the Data Protection Act limits its processing to cases with a clear need. Do not use it as a customer number. The validator runs in the browser and uploads nothing.
Validating lists
When importing data, check:
- the format, including all century signs,
- the control character,
- the date of birth.
The expected control character shown for failures helps find typing errors.
Worked example
131052-308T is valid: a woman born on 13 October 1952. 010594Y9032 is a valid temporary code for a man born on 1 May 1994, using the new Y sign.
Using the validator
Paste codes one per line. Each line shows the date of birth, sex and whether the code is temporary, or why it fails. Export as CSV.
Foreigners in Finland
Foreign workers and students who live in Finland get a personal identity code when they register at the Digital and Population Data Services Agency or through the tax office or Kela. People working briefly in Finland may get only a tax number. Many services, such as banks and strong electronic identification, require a permanent code.
Typical errors in data
- Using a letter O instead of zero, or I instead of 1, in the control character.
- Systems that strip the century sign and lose the information.
- Codes typed with the old - sign when the person's code actually has a new sign.
Limits
A valid format does not prove that the code was issued. The Population Information System is the authority. This guide is general information.



