Swedish personnummer validator
Personnummer and samordningsnummer (co-ordination number)
Check whether a Swedish personal identity number is valid, which date it encodes, and whether it is a co-ordination number.
Nothing leaves your browser. The check runs in this page, and its security policy blocks every network request, so what you type is never sent anywhere.
Check a number
How a personnummer is built
| Part | Example | Meaning |
|---|---|---|
| Date of birth | 811218 |
YYMMDD (or YYYYMMDD). A co-ordination number adds 60 to the day. |
| Separator | - |
-, or + from the year the person turns 100 |
| Birth number | 987 |
Three digits; the last one is odd for men and even for women |
| Check digit | 6 |
Luhn algorithm over the ten-digit form |
Test numbers
There is no test generator on this page on purpose. Sweden has no reserved range, so an invented number that passes the check can belong to a real person. For test data, use the list of test personnummer that Skatteverket publishes.
Got a whole spreadsheet of these? Scrubsheet finds ID numbers, IBANs, names and emails in Excel and CSV files and anonymizes them, in your browser, without uploading the file.
Anonymize a spreadsheet