USA Data Tools
Free โ€ข No signup required

US SSN Test-Format Generator

Non-valid Social Security Number test strings for QA โ€” never real SSNs.

โ† Back to US Address Generator
โš  Read this before using the tool. Social Security Numbers are sensitive personally identifiable information (PII). This generator only produces non-valid test strings that use the area-code range 900โ€“998, which the Social Security Administration has explicitly reserved for non-issuance. No real SSN is ever generated. Never use this tool to enter, store or impersonate a real Social Security Number. Do not use these numbers for tax, credit, employment, banking or any official government purpose. The tool is provided strictly for developers and testers who need realistic-looking SSN strings for form validation, regex testing, sample databases and QA databases where real PII is forbidden. Misuse may violate US federal and state laws including identity-theft statutes. You are solely responsible for any use of the tool.

Generate Non-Valid SSN Test Strings

Output uses the format AAA-SS-GGGG with the area group set to 900โ€“998, which the SSA never assigns. This guarantees the strings fail any real SSN check while still passing simple regex tests like ^\d{3}-\d{2}-\d{4}$.

Click Generate Test SSN(s) to produce non-valid test strings.

Frequently Asked Questions

Are these SSNs real?

No. They use the area range 900โ€“998 which the SSA never assigns, so no generated value is a real Social Security Number.

Why a test-format-only generator?

Random-digit SSN tools risk accidentally producing real numbers. Restricting to the non-issuance area range eliminates that risk while still giving you strings that pass format validation.

Can I use these for tax or banking?

No. These strings are for test and QA only and will always fail any real SSA, IRS or banking verification.

Are the strings unique?

Within a single batch we attempt to keep them unique. Because the area range is restricted, very large batches may include duplicates.