Personnummer generatorPersonnummer generator
Valid test Swedish personal identity numbers for Sweden, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any Personnummer against the rules. Everything runs in your browser.
- 600110-2307
- 640211-6211
- 680312-9466
- 720413-3792
- 760514-4489
- 800615-8797
- 840716-4949
- 880817-5296
- 920918-6304
- 960110-9391
Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.
Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.
How a Personnummer is built
Pattern: YYMMDD-NNNC
Birth date YYMMDD, a three-digit serial (third digit odd for men, even for women) and a Luhn check digit over the ten digits.
The number encodes the holder’s date of birth and sex. Set them in the tool to get a number that matches a test profile, or leave them empty for random values.
Valid and invalid example
| Value | Result |
|---|---|
| 600110-2307 | Valid |
| 600110-2308 | Invalid last character changed |
About the Personnummer
Skatteverket assigns the personnummer: date of birth YYMMDD, a three-digit serial whose last digit is odd for men and even for women, and a Luhn check digit. A plus sign replaces the hyphen for people over 100.
Typical test cases: Swedish BankID-related flows, payroll, healthcare and e-commerce checkout.
More sample Personnummer numbers
640211-6211 · 680312-9466 · 720413-3792 · 760514-4489 · 800615-8797 · 840716-4949 · 880817-5296 · 920918-6304 · 960110-9391
Common questions
- Are these real Personnummer numbers?
- They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
- Can I use a generated Personnummer on a real application?
- No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.
Related tools
- Sweden address generator: addresses with real cities and postcodes
- Fake Sweden profile: name, address, date of birth and ID numbers together
- Test data generator: export profiles with ID columns as CSV, JSON or SQL
Other personal ID formats
SSN (US) · ITIN (US) · DNI (ES) · NIE (ES) · NINO (GB) · SIN (CA) · CPF (BR) · CURP (MX) · RFC (MX) · NIR (FR) · Codice fiscale (IT) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · all formats
Sample profiles with a Personnummer
Each Personnummer below is built from the person’s own date of birth and sex, as the format requires.
- Robin NyströmMale, 33 · born 1992-10-09Örebro, Örebro länPersonnummer 921009-2251robin.nystrom83@example.net
- Klara HenrikssonFemale, 28 · born 1998-05-25Flen, Södermanlands länPersonnummer 980525-9125henriksson.klara@example.com
- Ann NordströmFemale, 80 · born 1946-09-17Tanumshede, Västra Götalands länPersonnummer 460917-1360nordstrom.ann@example.com
- Jesper SöderbergMale, 30 · born 1996-01-21Nacka, Stockholms länPersonnummer 960121-1536jesper_soderberg@example.org
Synthetic people with drawn pictures: not real individuals. Generate more profiles.