Data Tinker ES

Personnummer generator (Sweden)

Each person's number, the one used by Skatteverket, Social Security and banks: the date of birth, three serial digits (the last one even for women) and a check digit (Luhn). The samordningsnummer, for people who aren't registered as residents, adds sixty to the day.

Free, no sign-up and no limits. Everything is generated in your browser: nothing is sent anywhere.

Personnummer examples

Five samples; the tool above makes new ones every time you ask.

  • 771207-0189
  • 680228-3983
  • 940522-2366
  • 740805-2152
  • 880928-0731

Personnummer validation

The ones above pass the Data Tinker validator, which checks the format and the check digits; you can paste your own into the tool on this page.

  • With the last character changed, 771207-0180 no longer passes: “The check digit does not match: it would be 9.”
  • Calculate the check digit: 880320-001 gives 880320-0016.

Personnummer options

  • With the century (12 digits): yes or no (default: no)
  • Samordningsnummer (not registered as resident): yes or no (default: no)
  • With a wrong check digit: the right format and the wrong check, to test that the form rejects it

What if it filled itself in?

With the Data Tinker extension there is no copying and pasting: it fills the whole form from a panel next to the page, with templates per form and rules for your own fields.