US SSN and ITIN validator

Social Security numbers, ITINs and ATINs

Check whether a nine-digit number can be a Social Security number or an IRS taxpayer number, and if it can't, why not.

Nothing leaves your browser. The check runs in this page, and its security policy blocks every network request, so what you type is never sent anywhere.

Check a number

What makes a number invalid

Part Never issued as an SSN
Area (first 3 digits) 000, 666, and 900–999
Group (middle 2 digits) 00
Serial (last 4 digits) 0000

Numbers starting with 9 are not SSNs, but the IRS uses them for other taxpayer numbers: ITINs have 50–65, 70–88, 90–92 or 94–99 as the middle digits, and adoption taxpayer numbers (ATINs) have 93. Since June 2011 the Social Security Administration assigns SSNs at random, so the first three digits no longer show which state issued a number.

Why there is no test generator

The US has no reserved range for test SSNs. Any number that passes these checks could be issued to a real person, and numbers starting with 9 can be real people's ITINs. The SSA sets aside 987-65-4320 to 987-65-4329 for use in advertisements, but those fall inside the ITIN format too. For test data, use numbers your system treats as invalid on purpose, such as area 000, and make sure they never reach a real tax or payroll system.

Got a whole spreadsheet of these? Scrubsheet finds ID numbers, IBANs, names and emails in Excel and CSV files and anonymizes them, in your browser, without uploading the file.

Anonymize a spreadsheet

More free tools