Finland Henkilötunnus (HETU) Generator
Generate Finnish personal identity codes with the century sign and mod-31 control character — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Generate a HETU
FI HETU · Generate131052-308TBirth date 1952-10-13, a 1900s century sign and the control character T for individual number 308.
Reject a wrong control character
131052-308UInvalid — 131052308 requires control character TThe validator recomputes the mod-31 index and reports the character the inputs require.
Reject a temporary identifier
131052-908TInvalid — individual numbers 900–999 are temporaryTemporary identifiers are not personal identity codes, so the range is refused.
About this tool
The Finland HETU Generator produces one henkilötunnus, the Finnish personal identity code. Values use DDMMYY, a century sign, a three-digit individual number from 002 to 899, and a control character looked up in the 31-character DVV table after a mod-31 calculation.
The century sign is + for the 1800s and, for the 1900s, the traditional - plus the letters Y, X, W, V and U; the 2000s use A, plus B through F. All of these extra letters were added in 2023. Individual numbers 900–999 are temporary identifiers and are rejected, as are 000 and 001. The generator emits either - or A, which keeps the common cases covered.
These are synthetic values for QA and development: never use them on real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used. A random value can coincidentally match a real henkilötunnus. Everything runs locally in your browser.
What this tool does not do
- The generator emits - and A only, so the 2023 letters (Y X W V U and B–F) and the 1800s plus sign need manual samples.
- Validation cannot confirm assignment or that the code belongs to a person.
- The tool does not cover the temporary identifier range, which it deliberately rejects.
- A generated value can coincide with a real henkilötunnus.
How to use this tool
Open the HETU generator
The tool is pinned to the henkilötunnus layout, so there is no option to choose.
Generate a value
Click Generate to create one code with a real birth date, an individual number and the matching control character.
Copy or validate
Copy the code to an identity fixture or download it as a .txt file, or switch to Validate to check a pasted value.
Use cases
Identity form fixtures
Seed Finnish signup and KYC mocks with a code that passes the date and control-character checks.
Century-sign coverage
Test that your parser accepts both - and A and does not assume a single separator.
Negative-path tests
Change the control character or use a 9xx individual number to cover each rejection branch.
Henkilötunnus layout
| Part | Rule |
|---|---|
| DDMMYY | Birth date |
| Century sign | + = 1800s; - and Y X W V U = 1900s; A–F = 2000s |
| Individual (3 digits) | 002–899; 900–999 are temporary identifiers |
| Control character | DDMMYY + individual as a number, mod 31, DVV table |
| Gender | Odd individual number = male, even = female |
The control character is the 31-character table entry at index (DDMMYYZZZ mod 31).
Common mistakes
Mistake:Assuming the separator is always -
Fix:Since 2023 the 1900s also use Y X W V U and the 2000s use B–F besides A, so a parser must accept every sign.
Mistake:Treating 900–999 as ordinary numbers
Fix:That range marks temporary identifiers and is rejected.
Mistake:Computing the check over the individual number alone
Fix:The control character uses DDMMYY plus the individual number as one integer.
Frequently asked questions
Are these real Finnish henkilötunnus codes?
No. They are synthetic values for QA and development, never for real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how they are used.
How is the control character calculated?
The DDMMYY digits and the three-digit individual number form one integer, and its remainder modulo 31 indexes the 31-character DVV table.
Which century signs are valid?
Plus for the 1800s, minus plus Y, X, W, V and U for the 1900s, and A through F for the 2000s.
Why are individual numbers 900–999 rejected?
That range marks temporary identifiers, which are not personal identity codes; 000 and 001 are also unused.
Does the separator always have to be a hyphen?
No. Since 2023 the 1900s also use Y, X, W, V and U, and the 2000s use B–F besides A, so a parser must accept every sign.
References & standards
Related tools
Finland Y-tunnus Generator
Generate synthetic Finnish business IDs (Y-tunnus) with a mod-11 check digit, and validate pasted business ID and FI VAT numbers.
SEPA IBAN Generator
Generate SEPA-eligible IBAN and BIC pairs with ISO 7064 Mod 97-10 checks.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.