How to use Personas koda pārbaude
- 01Type the code11 digits, dash fine.
- 02Read the resultValid, date, format.
- 03See the workingWeights and 1101 rule.

120190-12342: born 12 January (19)90; checksum 2 ✓.
Old-format Latvian personal codes are the date of birth, a century digit, a serial and a checksum digit. Since 1 July 2017 new codes start with 32 and contain no date of birth; the tool recognises them but doesn’t check them, because no check rule for them was published in the sources used.
Personas koda pārbaude: type an 11-digit Latvian personal code. For old-format codes the tool checks the checksum and reads the date of birth; for new codes starting with 32 it only recognises the format.
Old format: DDMMYY-XNNNZ
- DDMMYY: date of birth.
- X: relates to the century. The English Wikipedia gives 0 for 1800–1899, 1 for 1900–1999, 2 for 2000–2099; the Latvian Wikipedia gives 0–3 for people born before 2000 and 4–7 after. The tool shows the century only as a hint.
- NNN: birth serial for that day.
- Z: checksum digit.
The checksum
Example: 1201901234 (born 12 January 1990, reading the 7th digit 1 as the 1900s) gives a weighted sum of 142; 1101 − 142 = 959, and 959 mod 11 = 2, so the full code is 120190-12342.
- Multiply the first ten digits by 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 and add.
- Subtract the total from 1101.
- Take the remainder after dividing by 11, then its last digit.
New codes since 1 July 2017
Codes issued since 1 July 2017 start with 32 and contain no date of birth. People with an old code may change it once to a new one. Because the sources used give no check rule for new codes, the tool doesn’t check them.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Why is my code starting with 32 not checked?
Codes issued since 1 July 2017 start with 32 and don’t contain a date of birth. The sources used give no check rule for them, so the tool only recognises the format.
What does the 7th digit mean?
It relates to the century, but sources disagree: the English Wikipedia gives 0 for 1800–1899, 1 for 1900–1999 and 2 for 2000–2099, while the Latvian Wikipedia gives 0–3 for people born before 2000 and 4–7 after. The tool shows the century as a hint only.
Does a valid code mean it was issued?
No. The tool only checks the arithmetic. It doesn’t query the Population Register.
Is the personas kods sent anywhere?
No. The check runs in your browser and nothing you type is sent to a server or stored.
Where is the rule published?
The formula is from the English Wikipedia list of national identification numbers, which credits a commercial source; no official text was found. The 2017 change is from the amendment to the Population Register Law.
Does a valid checksum mean the code was issued?
A number that passes the check is only well formed. It does not prove that the number was ever issued, or to whom.