Generate a test Switzerland AHV/AVS social security number
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 |
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.