Validador y decodificador de números NIR Securite Sociale (Francia)

Pegar uno o varios números de seguridad social para comprobar la clave y descifrar el sexo, año y mes de nacimiento, departamento y código de comuna.

Se ejecuta en tu navegador. Tus archivos nunca salen de tu dispositivo. Cómo comprobarlo

…

Cómo hacerlo

  1. 1
    Números de pegado

    Un NIR por línea; los espacios se ignoran.

  2. 2
    Lee el resultado.

    Válido o no para cada línea.

  3. 3
    Compruebe los detalles

    Sexo, año, mes, departamento, comuna y llave.

  4. 4
    Copia las válidas

    Usa el botón de copia.

Sobre esta herramienta

Every person born or registered in France has a social security number, officially the NIR, managed by INSEE. It has 13 characters and a two-digit control key. The first digit gives the sex, the next four the year and month of birth, then the department and commune of birth (or 99 and a country code for people born abroad), and an order number. The key is 97 minus the number modulo 97, with the Corsican departments 2A and 2B replaced by 19 and 18. This validator checks the key and decodes the parts, in batch.

Who this is for

HR and payroll staff entering employee data, developers testing forms, and people checking a number they copied.

Structure

Position 1: 1 for men, 2 for women (7 and 8 for temporary numbers). Positions 2-3: year of birth. Positions 4-5: month of birth (codes above 12 can appear when the month is unknown). Positions 6-7: department of birth, 2A or 2B for Corsica, 99 for abroad. Positions 8-10: commune of birth (INSEE code) or country code. Positions 11-13: order number of the birth register. Positions 14-15: key.

The key

The key is 97 minus the remainder of the 13-digit number divided by 97. For Corsica, replace 2A by 19 and 2B by 18 before calculating. A single wrong digit or swapped digits almost always change the key.

Overseas departments

People born in overseas departments have three-digit department codes (971, 972 and so on) that use positions 6 to 8; the structure check still works.

Privacy

The NIR is sensitive personal data in France, and its use is restricted by law to specific purposes such as social security, employment and health. This tool works in your browser only; do not paste lists of numbers into tools you do not trust.

What a valid result means

A correct key means the number is consistent. It does not prove that the number exists or belongs to a person.

Temporary numbers

Foreign workers and newcomers sometimes receive a temporary number (NIA) starting with 7 or 8 until their civil status is confirmed; it is then replaced by a definitive NIR. The checker accepts these first digits.

Where the number appears

The NIR is printed on the carte Vitale, on payslips and on letters from the health insurance. Employers declare it in the monthly social declaration (DSN), so a wrong number can block health reimbursements or pension rights. Check it carefully when you start a job.

Worked example

2 84 05 75 112 233 43 is valid: a woman born in May 1984 in Paris (75), commune code 112, order 233, key 43. Changing the key to 44 makes it invalid.

Limits

A format and key check only, not an official confirmation.

Ejemplo práctico

2 84 05 75 112 233 43 es válido y decodifica como una mujer nacida en mayo de 1984 en el departamento 75.

Datos rápidos

Preguntas frecuentes

¿Cuántos dígitos tiene un número de seguro social francés?

Trece caracteres más una clave de dos dígitos.

¿Cómo se calcula la clave?

97 menos el número de 13 dígitos módulo 97.

¿Qué hay de Córcega?

Antes de calcular, sustituir 2A por 19 y 2B por 18.

¿Qué significa 99 en el departamento?

Nacido en el extranjero; los siguientes tres dígitos son un código de país.

¿Una clave válida prueba que el número existe?

No, sólo que es consistente.

¿Se almacenan mis datos?

No, sólo se comprueba en su navegador.

Totalmente gratisSin coste, sin registro
Tus archivos son privadosTodo se ejecuta en tu navegador
Fácil en tu idiomaDisponible en muchos idiomas