Home🇨🇦 CanadaSocial Insurance Number

Generate a test Canada Social Insurance Number

A Canadian Social Insurance Number (SIN) is a nine-digit, Luhn-checksummed identifier formatted NNN-NNN-NNN. These test numbers begin with 8, a digit never assigned to a person, so they are Luhn-valid yet cannot be a real SIN.

✓ Reserved range · safe Validate a number →
860 599 265

Begins with 8, which is never assigned — Luhn-valid but cannot be a real SIN.

Format specification

IdentifierSocial Insurance Number (SIN)
Country🇨🇦 Canada
FormatNNN NNN NNN
Length9 characters
ChecksumLuhn
Example872 913 637
Safe strategy Reserved range
Data qualityVerified against sources

Validation regex

Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()

^\d{9}$

References

  1. www.canada.ca/en/employment-social-development/services/sin.html
  2. en.wikipedia.org/wiki/Social_insurance_number

Common questions

Will these pass my validation?

Yes — they are well-formed Social Insurance Number values (NNN NNN NNN) and pass standard format checks, including the Luhn checksum.

Could one belong to a real person?

Begins with 8, which is never assigned — Luhn-valid but cannot be a real SIN.

Can I generate many at once?

Increase the count, or use the free API and CSV/JSON export for large datasets.

Validate an existing number →

For software testing only. These numbers are synthetic and must never be used for real-world identification, applications, or to impersonate anyone.