Home🇺🇸 United StatesSocial Security Number

Generate a test United States Social Security Number

A US Social Security Number (SSN) is a nine-digit identifier formatted AAA-GG-SSSS. These test numbers use the never-issued 900–999 area range, so they are valid in format yet cannot belong to a real person.

✓ Reserved range · safe Validate a number →
962-01-5274

Uses the never-issued 900–999 area range — cannot belong to a real person.

Format specification

IdentifierSocial Security Number
Country🇺🇸 United States
FormatAAA-GG-SSSS
Length9 characters
ChecksumNone
Example971-29-9519
Safe strategy Reserved range
Data qualityVerified against sources

Validation regex

Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()

^\d{9}$

References

  1. www.ssa.gov/employer/randomization.html
  2. www.ssa.gov/history/ssn/geocard.html

Common questions

Will these pass my validation?

Yes — they are well-formed Social Security Number values (AAA-GG-SSSS) and pass standard format checks.

Could one belong to a real person?

Uses the never-issued 900–999 area range — cannot belong to a real person.

Can I generate many at once?

Increase the count, or use the free API and CSV/JSON export for large datasets.

Validate an existing number →

For software testing only. These numbers are synthetic and must never be used for real-world identification, applications, or to impersonate anyone.