Skip to contentRedact PII for your data. Get a quote

Coverage · Canada

Canadian SIN detection and redaction

OpenAnonymizer finds the Canadian SIN in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.

At a glance

Country
Canada CA
Format
SINSocial Insurance Number
Placeholder
CA_SIN1Each distinct value gets its own number: CA_SIN_1, CA_SIN_2, and so on.
How it is confirmed
ChecksumOfficial label and checksum
Used for
Working in Canada, paying tax, and receiving government benefits and programmes.

About the SIN

The SIN is issued by Service Canada.

It is nine digits, usually written in three groups of three, and the last is a check digit (the Luhn algorithm).

A SIN that starts with 9 belongs to a temporary resident who is neither a citizen nor a permanent resident.

How OpenAnonymizer handles it

Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.

  • It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
  • Every package ships every detector, so this format is covered in each of them.
  • It covers 34 languages.
How a match is decided

The same country, or the same kind of number elsewhere.