Data Tinker ES

AHV number (AVS) generator (Switzerland)

The social security number (AHV in German, AVS in French and Italian): 756, nine digits and a check digit, the EAN-13 one. It carries neither the date nor the sex.

Free, no sign-up and no limits. Everything is generated in your browser: nothing is sent anywhere.

AHV number (AVS) examples

Five samples; the tool above makes new ones every time you ask.

  • 756.0837.3937.42
  • 756.5419.2545.10
  • 756.3529.8149.45
  • 756.0273.3277.69
  • 756.1762.1580.55

AHV number (AVS) validation

The ones above pass the Data Tinker validator, which checks the format and the check digits; you can paste your own into the tool on this page.

  • With the last character changed, 756.0837.3937.40 no longer passes: “The check digit (the last one) does not add up.”
  • Calculate the check digits: 756921707698 gives 756.9217.0769.85.

AHV number (AVS) options

  • With its separators, as it is written: yes or no (default: yes)
  • With a wrong check digit: the right format and the wrong check, to test that the form rejects it

What if it filled itself in?

With the Data Tinker extension there is no copying and pasting: it fills the whole form from a panel next to the page, with templates per form and rules for your own fields.