oktools

SSN Generator

Generate fake US Social Security Numbers in the valid 123-45-6789 format, with matching names and dates of birth, as test data for forms, fixtures and demos. The name locale only changes the names — every number is a US-format SSN.

Picks the names only; numbers are always US-format SSNs.
Format
Test data only. These are random numbers in the valid US SSN format, generated for development and QA. Roughly half of that format's space has already been issued, so any match with a real person's number is coincidental — never use one as a real identifier, on a form or anywhere else.

Generated Records (0)

#Full NameSSNDate of BirthCopy

How it works

A Social Security Number is three fields: a three-digit area number, a two-digit group number and a four-digit serial number. The generator draws each independently — the area from 001 to 899, the group from 01 to 99 and the serial from 0001 to 9999 — and pads them with leading zeros, which gives every number the shape the Social Security Administration could issue under the randomised assignment it has used since 2011. An area of 000 and the 900 series are outside the range from the start, and a draw of 666 is thrown away and repeated.

Two specific numbers are refused as well: 078-05-1120, printed on a sample card sold inside wallets from 1938 and claimed by thousands of people, and 219-09-9999, which appeared in an advertisement. Both are on the SSA’s retired list, and a draw that lands on either is discarded. These rules make test data pass a form’s validation; they do not make it safe to use. Roughly half of the valid space has already been issued, so a generated number can coincide with a real one, and nothing here checks whether it does.

Each number is paired with a first and last name drawn from a short list of common names for the chosen locale, and with a date of birth between 1950 and 2005 written MM/DD/YYYY, so a record looks complete in a table or a screenshot. The dashes are a display choice: the nine digits are kept and only re-laid-out when the box is toggled, so the same records can be copied in both forms. Copy writes one record per line as name, number and date separated by tabs, which pastes into a spreadsheet as three columns.

Examples

Generate three US test records

Copy All writes each record as name, number and date of birth separated by tabs, so the block pastes into a spreadsheet as three columns. This is one real run; names, numbers and dates all change on every Generate.

Settings
Name locale: United States
Records: 3
Copied text
Daniel Ramirez	292-68-9947	12/03/1968
Ronald Rivera	267-04-3338	09/27/1993
Kevin Nelson	012-19-6871	07/21/1960

Switch to the nine-digit form

Only the layout changes: the records on screen keep their digits, names and dates, and copying now gives the form a database column or an API payload usually wants. Untick the box and the dashes come back on the same numbers.

Record on screen
Daniel Ramirez	292-68-9947	12/03/1968
With Without dashes ticked
Daniel Ramirez	292689947	12/03/1968

Use British names with US numbers

The locale changes the names only — the numbers stay in the US format and no National Insurance number or other identifier is produced. An area of 663 is fine; only 666 itself, 000 and 900 upwards are excluded.

Settings
Name locale: United Kingdom
Records: 2
Copied text
Sophie Clarke	663-93-3729	11/27/1981
Ella Jackson	788-16-8478	10/29/1976

Supported formats

  • US SSN in the 123-45-6789 layoutArea 001–899 except 666, group 01–99, serial 0001–9999, never one of the two retired numbers. Every value passes a validator that checks the issuable ranges.
  • Nine bare digitsTick Without dashes to show and copy 123456789 instead; the records are re-laid-out, not regenerated.
  • Names from six localesUnited States, United Kingdom, Germany, France, Canada and Australia, each a first name and a surname from a list of common names in that country, with accented characters where the language has them.
  • Date of birthA random calendar day between 1950 and 2005 in US order, MM/DD/YYYY, with the day valid for its month.
  • Tab-separated copyOne record per line as name, SSN and date of birth separated by tabs, for a single record or for all of them — 1 to 100 per batch.

Use cases

  • Form validation and maskingCheck that an input accepts both 123-45-6789 and 123456789, rejects an area of 000 or 666, and masks to ***-**-6789 on display, using numbers that look right without belonging to a colleague.
  • Seeding a staging databaseA hundred complete records per paste, with names and dates, fill a users or employees table so screens, searches and reports have something realistic to show.
  • Screenshots, demos and training materialA benefits, payroll or onboarding screen populated with plausible people, so nothing in a slide or a help article is lifted from a real account.
  • End-to-end tests of an onboarding or KYC flowEach test run can take a fresh record with a name, number and date of birth that are consistent in shape, instead of reusing one fixture that trips uniqueness checks.

Limitations

  • Synthetic test data, never a valid identifierNo number here was issued to anyone by the SSA, and none is checked against its records. A match with a real person’s number is coincidence, and entering one on a form, an application or anywhere an SSN identifies a person is identity fraud.
  • It cannot tell whether a number has been issuedOnly the SSA’s own verification services can do that. The page knows the issuable ranges and two retired numbers, nothing more — do not use it to check a number you were given.
  • No ITINs, EINs or other countries’ identifiersAn ITIN starts with 9 and is deliberately outside the range, an EIN has a different shape altogether, and the locale changes only the names — there is no National Insurance number, SIN or Steuer-ID.
  • Name, date and number are independentSince 2011 the area number says nothing about where a person lived, and the generator makes no attempt to match an older-style area to a birthplace or the group to a date, so a dataset that must look pre-2011 will not be internally consistent.
  • A fixed record shapeName, SSN and date of birth only, as tab-separated text — no addresses, no CSV header, no JSON. For richer fixtures with custom fields, the Mock Data Generator in the API tools builds whole objects.

Frequently asked questions

Are these real Social Security Numbers?

No. Each one is a random nine-digit number in the valid SSN format, generated alongside a random name and date of birth purely as test data. Nothing here is drawn from any record of a real person — but because the format is the real one, a generated number can coincide with one that has been issued, so treat every value as a fixture and never as anyone’s identifier.

Could a generated number match someone’s real SSN?

Yes, and this matters. The numbers avoid the ranges the Social Security Administration never issues — an area of 000, 666 or 900 and above, a group of 00, a serial of 0000 — precisely so they look well-formed to validation code, which means the remainder overlaps the roughly half of the valid space that has really been issued. Any such match is coincidental. The two numbers famous for having been published, 078-05-1120 and 219-09-9999, are never produced.

Why do the names come from other countries if the numbers are US SSNs?

The name locale changes the names only — British, German, French, Canadian or Australian ones — so a test dataset can look like the users of the system it is for. The numbers are always in the US format: no other country’s identifier is generated, and a fixture should never claim one is.

What is this for?

Filling out test databases, demo environments, screenshots and form validation with data of the right shape, so you never have to copy a colleague’s real details into a staging system to see whether a form works. The matching names and dates of birth are there so a record looks plausible end to end.

How is an SSN structured?

Three parts: a three-digit area number, a two-digit group number and a four-digit serial number, written 123-45-6789. Since the SSA moved to random assignment in 2011 the area no longer indicates where the holder lived, so nothing about a modern number reveals a location.

Is it legal to use generated SSNs?

Generating and using them as test data is ordinary development practice. Presenting one as your own or another person’s identity — on an application, a form or anywhere an SSN is being used to identify somebody — is identity fraud, whether or not the number turns out to belong to anyone. Keep these inside your own test systems.

Is any of this data stored or uploaded?

No. The whole tool is JavaScript running in your own browser, so nothing you type or paste is sent over the network, written to a log or attached to an analytics event. You can confirm it by opening the network tab and watching it stay empty while you work.