US SSN format validator
A US Social Security Number (SSN) is the nine-digit number issued by the Social Security Administration (SSA) for tax and benefit purposes. It has no mathematical check digit, so a number can only be checked against the SSA’s published structure and exclusion rules — which is exactly what this tool does, entirely in your browser. It is useful for catching typos in forms and test data, not for confirming that a real SSN was issued.
How it works
An SSN is written AAA-GG-SSSS: a 3-digit area, a 2-digit group and a 4-digit serial. The validator strips dashes and spaces, then applies four checks:
| Part | Digits | Valid range | Excluded |
|---|---|---|---|
| Area | 1–3 | 001–899 | 000, 666, 900–999 |
| Group | 4–5 | 01–99 | 00 |
| Serial | 6–9 | 0001–9999 | 0000 |
| Reserved | all 9 | — | advertised numbers (e.g. 078-05-1120) |
It also rejects a short list of publicly advertised / promotional numbers the SSA
permanently voided, such as 078-05-1120, 219-09-9999 and 457-55-5462.
Example
Take 123-45-6789. The area 123 is within 001–899 and is not 666, the group
45 is within 01–99, and the serial 6789 is within 0001–9999, and it is not a
reserved number — so the format is valid. By contrast 666-45-6789 fails on
the very first check, because 666 is never issued.
Privacy-first: every check runs in your browser. Nothing is uploaded, stored or sent to any server, and this tool does not query any government database.