Schweiz AVS Nummer

Validate and Generate an AVS Number Switzerland - Easily and Quickly


This is an AVS Number Switzerland validation tool, you can enter the appropriate value to get the verification results, for the convenience of use, the tool provides a generator, you can use the generator to test the results.

756.7538.5284.04
✕ Invalid Swiss SSN

What is AVS Number Switzerland?

On July 1, 2008 the old grey AHV card with an 11-digit number was replaced by a new standard credit card sized document containing 13 digits. The new number is generated randomly and is completely anonymous, thereby fulfilling current data protection requirements. Insured persons retain the same number throughout their lives and no longer need to replace it in the event of a name change due to marriage or divorce. If you still have an 11-digit AHV number, you can request for a new 13-digit AHV number through your employer who happens to be the one responsible for ordering the card.

AVS Number Generation and Validation?

The AVS Number Generator is designed to developers in need of randomly generated data for testing cases. The SSN validation validates the numbers pattern for a given state area code. Therefore, if a SSN passes this tool validation, it doesn't mean that it really exists, only that it's code, for the given pattern, is possible. This is the same validation that guarantees the basic authentication, of generated ssn's, for forms under development, as they merely checks for a possible pattern. Generated SSN's aren't real, and shouldn't be used on attempt of any illegal activity.

AVS and AHV are the same number

Switzerland runs its social insurance in four national languages, and the scheme's name changes with them. The identifier does not.

  • AHVAlters- und Hinterlassenenversicherung, used in German-speaking Switzerland.
  • AVSAssurance-vieillesse et survivants in French, and Assicurazione vecchiaia e superstiti in Italian.
  • AVSAssicuranza per vegliadras e survivents in Romansh.

All four name the same institution: the state old-age and survivors' insurance. A numéro AVS from Geneva and an AHV-Nummer from Zurich have the identical 13-digit format, the same 756 prefix, and the same check digit rule. Which abbreviation you see depends only on which language the document was issued in.

Why this trips people up

Moving between language regions, or dealing with an employer headquartered in another canton, means seeing both labels for one number. It is a common worry that a French-language document lists a different identifier than a German one. It does not — only the heading above it differs.

Which form to use in software

If you are building forms or database schemas for Swiss users, expect either label in your interface copy depending on locale, but store a single value. The canonical format is thirteen digits, conventionally displayed as 756.XXXX.XXXX.XX. Storing it without the dots and formatting on display avoids a whole category of comparison bugs.

The validator here accepts the standard dotted format and checks the same rules regardless of which name your users know it by.

Related Swiss AHV/AVS tools