AHV/AVS social security number generator (Switzerland)
A Swiss AHV/AVS number is thirteen digits beginning with the country prefix 756, with an EAN-13 check digit. These test values are synthetic but carry a valid check digit.
Synthetic · not collision-guaranteed Validate a number →
756.6059.9267.44
Synthetic AHV number (EAN-13 valid). Not a real issued number.
Format specification
| Identifier | AHV/AVS social security number (AHV-Nr / No AVS) |
|---|---|
| Country | 🇨🇭 Switzerland |
| Format | 756.0000.0000.00 |
| Length | 13 characters |
| Checksum | EAN-13 |
| Example | 756.7291.3633.59 |
| Safe strategy | Synthetic |
| Data quality | Verified against sources |
AHV/AVS social security number: what each part means
| 756 | The ISO 3166 numeric country code for Switzerland — every AHV/AVS number starts with it. |
|---|---|
| 0000.0000.0 | Nine random digits. Since the 2008 redesign the AHV number is deliberately anonymous — it encodes no birth date, sex, or origin. |
| 0 | EAN-13 check digit over the first twelve digits (alternating weights 1 and 3). |
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^756\d{10}$ References
Common questions
Will these pass my validation?
Yes — they are well-formed AHV/AVS social security number values (756.0000.0000.00) and pass standard format checks, including the EAN-13 checksum.
Could one belong to a real person?
These are synthetic values. They are format-valid but not drawn from a guaranteed reserved range, so use them only for testing.
Can I generate many at once?
Increase the count, or use the free API and CSV/JSON export for large datasets.
For software testing only. These numbers are synthetic and must never be used
for real-world identification, applications, or to impersonate anyone.