Home Personas kods Latvia

Latvia Personas kods validator

How the Personas kods format works

Format
11 digits
Example
18119901232

Things to watch for

  • 11 digits validated with a weighted mod-11 check on the final digit
  • Older codes encode a date of birth in the first 6 digits (DDMMYY); newer codes issued from July 2017 start with "32" and carry no date of birth at all — this tool checks format and checksum only, never the date, and never stores what you enter
  • Checksum only — a valid personas kods does not confirm the number is currently issued to a real person
Regex for Personas kods
^[0-9]{11}$

A personas kods is Latvia’s 11-digit personal identity number, issued by the Office of Citizenship and Migration Affairs (PMLP) and used across tax, healthcare, banking, and most government-facing forms. For decades it followed a predictable shape — DDMMYY for date of birth, a century digit, and a three-digit serial — but Latvia broke from that pattern in July 2017.

Personas kods numbers issued since that reform start with the digits 32 and carry no date of birth at all: the remaining digits are assigned essentially at random rather than derived from anything about the holder. It’s a deliberate design change, and it’s the detail that most sets Latvia apart from its Baltic neighbors, both of which still encode a birth date directly in the equivalent number. What didn’t change is the checksum — both the older DDMMYY-based codes and the newer 32-prefixed codes are validated with the same weighted mod-11 formula, run over the first ten digits against a fixed set of multipliers, with the result reduced through a mod-10 step and compared to the eleventh digit.

How this validator works

This tool confirms the input is 11 digits, then reruns the weighted mod-11 (then mod-10) calculation against the eleventh digit — the same check whether the code follows the old date-based pattern or the newer 32-prefixed one. Everything happens in your browser; nothing you enter is sent to a server or stored.

What a pass doesn’t tell you

A matching checksum confirms the 11 digits are internally consistent, not that PMLP ever issued that specific personas kods or that it belongs to a real person. Because older codes encode a date of birth, this tool never decodes or displays it — a pass is a typo-check, not identity information.

Scope: this page covers personas kods format and checksum validation only — not identity or registration lookups.

Content last reviewed 2026-08-09.

Personas kods FAQ

What's different about personas kods numbers issued after 2017?

Since July 2017, Latvia has issued personas kods numbers starting with the digits 32, followed by digits assigned essentially at random rather than derived from a birth date. Older codes, by contrast, open with a DDMMYY date of birth followed by a century digit and serial — this tool validates both formats' checksums, since the underlying weighted mod-11 formula didn't change.

How is the personas kods check digit calculated?

It's a weighted mod-11 sum over the first ten digits, using a fixed set of ten multipliers, and the result — reduced through a further mod-10 step — is compared against the eleventh digit.

Does a valid personas kods confirm someone is registered with Latvia's PMLP?

No. A matching checksum only confirms the 11 digits are mathematically consistent — it doesn't confirm the code was ever issued by the Office of Citizenship and Migration Affairs (PMLP) or belongs to a real person.

← More Personas kods validators