Skip to content

siren ​

Validates a SIREN (Système d'Identification du Répertoire des Entreprises) number, the French company identifier.

Options ​

OptionTypeDefaultDescription
messagestringlocale defaultCustom error message

Playground ​

Valid values ​

ValueNotes
"732075312"SIREN of Total S.A.
"552032534"SIREN of Air France

Invalid values ​

ValueReason
"732075313"Fails Luhn checksum
"12345678"Only 8 digits instead of 9

Notes ​

  • Empty string ("") always returns valid: true. Combine with notEmpty to require a value.
  • SIREN is exactly 9 digits, validated using the Luhn algorithm.

Released under the MIT License.