Xerobit

Fake SSN Generator for Software Testing

This ssn generator produces dummy Social Security Numbers formatted as XXX-XX-XXXX for use in software testing and database seeding. Every number avoids the reserved ranges defined by the Social Security Administration so it will never match a real person. It runs entirely in your browser and nothing is uploaded anywhere.

Result

  1. 686-53-8494
  2. 636-99-0169
  3. 646-42-2165
  4. 719-85-1681
  5. 163-96-1909

How to use the fake ssn generator

  1. Choose how many dummy SSNs you need, from 1 to 100.
  2. Select the output format: dashed (XXX-XX-XXXX) or plain digits (XXXXXXXXX).
  3. Click Generate to produce the list.
  4. Copy the results into your test fixtures, mock data files or database seed scripts.

How the SSN structure works

A United States Social Security Number has nine digits split into three parts: the area number (first three digits), the group number (middle two digits) and the serial number (last four digits). The standard display format is XXX-XX-XXXX. When building a fake ssn for testing, each part must fall within specific boundaries to look realistic without colliding with real assignments.

The area number ranges from 001 to 899, excluding 666. Numbers 900 through 999 are reserved and never issued. The group number ranges from 01 to 99, and the serial number ranges from 0001 to 9999. This generator enforces every one of those constraints using rejection sampling: it draws random values with crypto.getRandomValues and discards any combination that falls in a reserved range.

Reserved ranges to avoid

When generating sample Social Security Numbers, developers must skip several blocks that the Social Security Administration reserves for special purposes or has never issued. Using these in test data can cause validation logic to behave unexpectedly or, worse, accidentally reference a real record if the data leaks into production.

RangeReason
000-XX-XXXXArea number 000 is never assigned
666-XX-XXXXArea number 666 is permanently blocked
900 to 999Reserved for Individual Taxpayer Identification Numbers and other programs
XXX-00-XXXXGroup number 00 is never assigned
XXX-XX-0000Serial number 0000 is never assigned

This tool checks every generated number against this table before returning it.

Using dummy SSNs in test data

Software teams frequently need realistic identifiers when writing unit tests, populating staging databases or demonstrating applications to stakeholders. A test ssn lets you exercise form validation, database column sizing and API serialization without touching real personal information. Pair these numbers with a fake name generator to build complete mock user profiles.

If your application stores or transmits data in structured formats, you may also need tools like a json minifier to compress fixture files or an xml validator to check SOAP payloads that carry demographic fields. For low-level protocol work where identifiers are encoded as bytes, a binary to hex converter helps inspect the wire format.

Why not use well-known example SSNs

The Social Security Administration publishes a small set of example numbers, such as those in the 078-05-1120 range used in historical advertising. However, relying on a single hard-coded example limits test coverage. Generating multiple unique dummy SSNs ensures your code handles different area, group and serial combinations correctly. It also prevents false positives when deduplication logic flags repeated test records.

Because this ssn generator uses cryptographic randomness, each click produces a fresh set of numbers. You can safely regenerate whenever you need new test fixtures without worrying about predictable sequences.

Security and privacy considerations

Even though these numbers are mathematically guaranteed to be unassigned, treat them as sensitive during development. Do not commit them to public repositories alongside real user schemas, and never send them to third-party analytics services. Label columns clearly as test data in staging environments so other engineers understand the context.

All generation happens locally in your browser. No network requests are made, no numbers are stored on a server and no telemetry is collected. Once you close the tab, the values exist only in your clipboard or your code.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Five dashed SSNsHow many to generate: 5; Output format: dashed286-13-8281, 270-87-0003, 154-06-9894, 385-20-5345, 596-65-7128
Ten plain SSNsHow many to generate: 10; Output format: plain013850995, 709341852, 728778071, 823985628, 506758912, 250253595, 449513139, 526201125, 714664311, 878362764
Single test SSNHow many to generate: 1; Output format: dashed026-96-1609

FAQ

Are these real Social Security Numbers?

No. Every number produced avoids the SSA's assigned and reserved ranges, including area 666, areas 900 through 999, group 00 and serial 0000. They are safe to use as test data.

Can I use these in production systems?

No. These are dummy SSNs intended solely for software testing, development and demonstration. Never store fabricated identifiers in production databases where they could be confused with real records.

What format does the ssn generator output?

You can choose between the standard dashed format (XXX-XX-XXXX) and a plain nine-digit string (XXXXXXXXX). Both contain the same underlying number.

How many SSNs can I generate at once?

The tool allows between 1 and 100 numbers per batch. If you need more, simply click Generate again to get another unique set.

Is my data sent to a server?

No. The entire process runs in your browser using JavaScript. Nothing is uploaded, logged or transmitted over the network.

Why does the tool reject area number 666?

The Social Security Administration has never issued SSNs with area number 666. Including it would create an invalid identifier that strict validation libraries would reject.