Axon Toolbox

Free telecom & identity tools

Free tool

United States Social Security Number (SSN) Validator & Test Numbers

Check whether an SSN is well-formed under the Social Security Administration's rules, or get test SSNs from the ten numbers the SSA reserves for advertising — never issued to anyone.

SSN Test Numbers

This tool deliberately does not generate random SSNs. Since June 2011 the SSA assigns numbers randomly, so any well-formed random number could belong to a real person — instead it hands out only the SSA's advertising-reserved numbers, 987-65-4320 to 987-65-4329.

Flag of United States

United States · 9 digits

Up to 10 — that is all the reserved numbers there are

SSN Validator

An SSN has no check digit, so this checks structure only — it cannot tell you whether a number is actually assigned to anyone.

The ten numbers this tool generates are reserved by the Social Security Administration for advertising and are never issued to any real person. Anything else you type into the validator is checked for shape only — it is not proof that a number is genuine, assigned or unassigned.

How an SSN is structured

An SSN is nine digits in three parts: a three-digit area, a two-digit group and a four-digit serial. Taking 987-65-4320 as an example:

The segments of a nine-digit US Social Security Number
DigitsSegmentMeaning
987AreaThree digits. 000, 666 and 900–999 are never issued. Before June 2011 the area encoded the issuing state; since then all three parts are assigned randomly.
65GroupTwo digits, never 00.
4320SerialFour digits, never 0000.

There is no check digit anywhere in an SSN — every one of the nine digits is a genuine identity digit, so there is nothing a validator can calculate to confirm a number is real. It can only confirm the number is well-formed, meaning it obeys the area, group and serial rules above.

Before June 2011 the SSA allocated the area number by the state or agency that issued the card, and group numbers were issued within each area in a documented, non-sequential order. Since June 2011 the SSA randomises all three parts, so an SSN can no longer be traced to a place or date of issue — and, more importantly for testing, it means any well-formed random nine digits could coincidentally belong to a real, living person. That is why this tool's generator only ever hands out the ten numbers in the SSA's advertising-reserved block, 987-65-4320 to 987-65-4329, which sit inside the 900+ area that is never issued as a real SSN and so can never collide with anyone.

Numbers that start with 9 and carry certain group values are not SSNs at all: they are Individual Taxpayer Identification Numbers (ITINs), issued by the IRS to people who need a US taxpayer ID but do not qualify for an SSN. ITINs use the same AAA-GG-SSSS shape, so the validator recognises the pattern and tells you when it looks like an ITIN rather than simply rejecting it as malformed.

Why use test SSNs instead of real ones?

US onboarding, payroll, tax and KYC forms all collect an SSN, and all of them need realistic input to test against — signup flows, W-2 and 1099 processing, credit and background checks, identity verification.

Pasting a real person's SSN into a test or staging system is a serious data-protection mistake: it puts a live, sensitive identifier — one that underpins credit and tax fraud — somewhere it was never meant to live, and it can be logged, cached or leaked long after the test is over. The SSA's own advertising-reserved numbers avoid that risk entirely, because they are what the SSA itself tells advertisers, form designers and software teams to use in place of a real one.

Frequently asked questions

What is a Social Security Number?
A Social Security Number (SSN) is the nine-digit identifier the US Social Security Administration issues to citizens, permanent residents and eligible temporary workers. It is used for wage reporting, taxation, benefits and, in practice, as a general-purpose identity check across banking, credit and payroll systems.
Does an SSN have a check digit?
No. Unlike a CPF, CNPJ or SIN, an SSN carries no checksum. Every digit is a genuine identity digit, so there is nothing a validator can calculate to prove a number is real — it can only confirm the number is well-formed.
Why does this tool not generate random SSNs?
Since June 2011 the SSA assigns the area, group and serial digits randomly across the whole nine-digit range, rather than allocating them by state and issue date as before. That means a random number that passes every structural rule could, by chance, be a real person's SSN. AXON does not generate synthetic numbers that could collide with a genuine identity.
What are 987-65-4320 to 987-65-4329?
They are the ten numbers the SSA itself reserves for advertising and sample use — the block it tells advertisers and form designers to use instead of inventing one. They sit inside the 900+ area, which is never issued as a real SSN, so they are guaranteed never to belong to anyone. This tool only ever hands out numbers from that block.
What does the validator actually check?
Structure only: nine digits, split into a three-digit area, two-digit group and four-digit serial; area 000, 666 and 900–999 rejected; group 00 rejected; serial 0000 rejected. It also recognises the SSA's ten reserved advertising numbers. It cannot and does not confirm that a number was ever assigned to anyone.
What is an ITIN?
An Individual Taxpayer Identification Number is issued by the IRS to people who need a US taxpayer ID but are not eligible for an SSN. ITINs share the nine-digit AAA-GG-SSSS shape but live in the area range 900–999 with specific group values, which is exactly the range no real SSN ever occupies. The validator flags a number in that pattern as a likely ITIN rather than a malformed SSN.
Are these real SSNs?
No. The ten numbers this tool generates are the SSA's own advertising-reserved block — publicly documented, never issued to any person, and safe to put in test systems, demo forms and sample documents.