SSN Validator
Finance & Global IDsValidate whether a US Social Security Number follows the official format and passes SSA range rules. Browser-only — your SSN is never transmitted.
What is a SSN?
The SSN Validator checks whether a United States Social Security Number (SSN) follows the official 9-digit format defined by the Social Security Administration (SSA), including the known exclusion rules that the SSA has never assigned. An SSN is the most widely used personal identifier in the United States — it appears on tax returns, credit applications, bank accounts, and government records.
The format is AAA-GG-SSSS: three groups separated by hyphens, totalling 9 digits. The three groups are the area number (first 3 digits), the group number (middle 2 digits), and the serial number (last 4 digits). This validator accepts both hyphenated (123-45-6789) and unhyphenated (123456789) input.
Beyond the basic 9-digit length check, the validator applies the SSA's documented exclusion rules: area 000, 666, and 900–999 are never assigned; group 00 is never assigned; serial 0000 is never assigned. It also flags two publicly known invalid SSNs that appeared in historical SSA sample materials.
This tool is equivalent to PAN Number Validator and Aadhaar Number Validator for the Indian context — all three check document number formats for their respective countries.
How to use this SSN calculator
- Type or paste the SSN into the input field. You can enter it with hyphens (
123-45-6789) or without (123456789) — both formats are accepted. - The result updates automatically as you type — no button press needed.
- Check the Valid or Invalid badge.
- If Invalid, read the error message to identify the specific rule that failed.
- If Valid, check the details for the area, group, and serial breakdown and the list of checks passed.
- To validate a different SSN, clear the field and enter the new value.
Formula & Methodology
Format rule: An SSN must satisfy all of the following: 1. Exactly 9 digits (hyphens are stripped before checking) 2. Area (digits 1–3): not000, not666, not900–9993. Group (digits 4–5): not004. Serial (digits 6–9): not0000Regular expression (after stripping hyphens):/^\d{9}$/with the additional range exclusions above. Valid example:123-45-6789— area 123 (not excluded), group 45 (not 00), serial 6789 (not 0000). Invalid examples: -000-45-6789— area 000 is excluded -666-45-6789— area 666 is excluded -900-45-6789— area 900–999 is excluded -123-00-6789— group 00 is excluded -123-45-0000— serial 0000 is excluded -078-05-1120— publicly advertised sample card number, explicitly invalid