Skip to main content

SSN Generator

Valid Social Security Number generator for software testing and QA compliance.

Waiting for generation...

About Social Security Number (SSN)

The Social Security Number (SSN) is a nine-digit number issued by the United States government to US citizens, permanent residents, and temporary working residents. Its primary purpose is to track individuals for social security and taxation purposes.

This tool generates mock SSN numbers in full compliance with the mathematical rules set by the Social Security Administration (SSA). We ensure that all generated numbers are purely theoretical and intended solely for software development testing and QA, preserving privacy.

Anatomy & Structure of SSN (9 Digits: AAA-GG-SSSS)

The US Social Security Number consists of 3 distinct hyphen-separated components:

PositionFieldLengthMeaning & RuleExample
1 to 3Area Number (AAA)3 digitsPre-2011 indicated geographic state; randomized post-2011 (000, 666, 900-999 forbidden)054
4 & 5Group Number (GG)2 digitsHistorically issued in staggered order from 01 to 99 (00 forbidden)72
6 to 9Serial Number (SSSS)4 digitsSequential series from 0001 to 9999 (0000 forbidden)1234

SSN Validation Rules & SSA Restrictions

SSN verification checks regulatory structural limits and determines geographical or randomized status:

Area != 000 && Area != 666 && Area < 900 && Group != 00 && Serial != 0000
  1. 1. Confirm total length is exactly 9 digits.
  2. 2. Area Number: must not be 000, 666, or between 900-999 (reserved for ITINs).
  3. 3. Group Number: must not be 00.
  4. 4. Serial Number: must not be 0000.
  5. 5. Reject standard SSA advertising and test numbers.
  6. 6. For pre-June 2011 issuances, decode the geographic state and estimated age based on group sequencing.

Frequently Asked Questions (FAQ)