SSN generator
Valid test Social Security numbers for United States, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any SSN against the rules. Everything runs in your browser.
- 987-65-4321
- 987-65-4327
- 987-65-4329
- 987-65-4320
- 987-65-4329
- 987-65-4324
- 987-65-4320
- 987-65-4324
- 987-65-4321
- 987-65-4323
Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.
Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.
How a SSN is built
Pattern: AAA-GG-SSSS
Area 001–899 except 666, group 01–99, serial 0001–9999. No check digit.
Safe by default. The tool uses 987-65-4320 to 987-65-4329 (reserved by the SSA for advertising). Tick the option above only if your validator rejects that range.
Valid and invalid example
| Value | Result |
|---|---|
| 987-65-4321 | Valid |
About the SSN
The Social Security Administration issues nine-digit SSNs. Since 2011 numbers are assigned randomly, so the area digits no longer show the state of issue. Area 000, 666 and 900–999, group 00 and serial 0000 are never issued.
Typical test cases: Payroll, HR and onboarding forms, KYC flows, tax software and any database column that stores a US taxpayer number.
More sample SSN numbers
987-65-4327 · 987-65-4329 · 987-65-4320 · 987-65-4329 · 987-65-4324 · 987-65-4320 · 987-65-4324 · 987-65-4321 · 987-65-4323
Full-range examples (valid format, outside the reserved range): 604-38-0281 · 484-28-9467 · 325-72-7865 · 201-07-5473
Common questions
- Which SSNs are safe to use in tests?
- The SSA reserves 987-65-4320 to 987-65-4329 for advertising, and these are what the tool gives by default. Switch to the full range only when a validator rejects the 987 area, and remember that a random valid-looking SSN may belong to someone.
- Does an SSN have a check digit?
- No. Validation only checks the structure: the area, group and serial rules above.
- Are these real SSN numbers?
- They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random (by default from a range that is never issued) and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
- Can I use a generated SSN on a real application?
- No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.
Related tools
- EIN generator: Employer Identification Number
- ITIN generator: Individual Taxpayer Identification Number
- United States address generator: addresses with real cities and postcodes
- Fake United States profile: name, address, date of birth and ID numbers together
- Test data generator: export profiles with ID columns as CSV, JSON or SQL
Other personal ID formats
DNI (ES) · NIE (ES) · NINO (GB) · SIN (CA) · CPF (BR) · CURP (MX) · RFC (MX) · NIR (FR) · Codice fiscale (IT) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · NIF (PT) · PESEL (PL) · all formats
Sample profiles with a SSN
Test people for United States, each with a generated SSN and a drawn profile picture.
- Orion KleinMale, 39 · born 1987-09-03Oconee, ILSSN 987-65-4325oklein@example.com
- Katie HellerFemale, 23 · born 2003-05-29Anchorage, AKSSN 987-65-4328katieheller@example.com
- Cortney FeeneyFemale, 57 · born 1969-01-28Lawrenceville, GASSN 987-65-4323feeney.cortney@example.com
- Jarvis CollierMale, 45 · born 1981-06-25Eustis, FLSSN 987-65-4329collier.jarvis@example.org
Synthetic people with drawn pictures: not real individuals. Generate more profiles.