NIR generatorGénérateur de numéro de sécurité sociale
Valid test French social security numbers (Numéro d’inscription au répertoire (n° de sécurité sociale)) for France, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any NIR against the rules. Everything runs in your browser.
- 2 60 01 44 235 003 84
- 1 64 02 39 015 785 87
- 2 68 03 70 091 014 33
- 1 72 04 93 181 083 05
- 2 76 05 75 110 145 01
- 1 80 06 83 250 252 04
- 2 84 07 21 133 913 29
- 1 88 08 29 047 562 92
- 2 92 09 51 060 881 14
- 1 96 01 68 215 316 46
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 NIR is built
Pattern: 1 85 03 75 112 045 23
Sex (1/2), year and month of birth, département and commune of birth, order number, then the key 97 − (number mod 97). Corsica 2A/2B count as 19/18 for the key.
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 |
|---|---|
| 2 60 01 44 235 003 84 | Valid |
| 2 60 01 44 235 003 85 | Invalid last character changed |
About the NIR
INSEE assigns the 15-digit NIR, the number on the Carte Vitale. It encodes sex, year and month of birth, département and commune of birth and an order number, followed by a two-digit key. The département in the generated number comes from the postcode of the generated address.
Typical test cases: French HR and payroll (DSN), health insurance and mutuelle forms, and administrative portals.
More sample NIR numbers
1 64 02 39 015 785 87 · 2 68 03 70 091 014 33 · 1 72 04 93 181 083 05 · 2 76 05 75 110 145 01 · 1 80 06 83 250 252 04 · 2 84 07 21 133 913 29 · 1 88 08 29 047 562 92 · 2 92 09 51 060 881 14 · 1 96 01 68 215 316 46
Common questions
- Are these real NIR 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 NIR 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
- SIREN / SIRET generator: French company registration number
- TVA generator: French VAT number
- France address generator: addresses with real cities and postcodes
- Fake France 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) · Codice fiscale (IT) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · NIF (PT) · all formats
Sample profiles with a NIR
Each NIR below is built from the person’s own date of birth and sex, as the format requires.
- Rita RiviereFemale, 60 · born 1966-09-25Saint-Germain-l'Herm, Auvergne-Rhône-AlpesNIR 2 66 09 63 214 299 30rita_riviere@example.org
- Réjean GiraudMale, 49 · born 1977-05-21Laroque-des-Albères, OccitanieNIR 1 77 05 66 241 059 87rejean.giraud@example.org
- Charline SanchezFemale, 65 · born 1960-12-11Les Baroches, Grand EstNIR 2 60 12 54 140 306 15sanchez.charline@example.com
- Arnould Le gallMale, 73 · born 1953-02-04Bruyères, Grand EstNIR 1 53 02 88 129 565 80alegall@example.com
Synthetic people with drawn pictures: not real individuals. Generate more profiles.