SSN / NINO Test Number Generator
Generate test SSN and NINO numbers that can never match real ones.
What is SSN / NINO Test Number Generator
This test number generator creates dummy US Social Security Numbers (SSN) and UK National Insurance numbers (NINO) in the correct format, using only number ranges that official bodies never issue (SSN areas 000/666/9xx, NINO prefixes D/F/I/Q/U/V), so they cannot collide with real records.
This tool needs no input.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Format validation, and only format validation
A US Social Security number is nine digits in a 3-2-4 grouping. A UK National Insurance number is two letters, six digits, one letter (QQ 12 34 56 C), and the letters D, F, I, Q, U and V are never used — the first letter also excludes O. Both checks here are structural: length, grouping and allowed character ranges.
Neither check confirms that a number exists or belongs to anyone. A number that passes every rule can be entirely fictitious, and there is no public service that would tell you otherwise. Any process that treats a format check as identity verification is a fraud vector.
The ranges that are deliberately invalid
The SSA never issues numbers with area 000, 666 or 900–999; group 00 and serial 0000 are also unused. Rejecting those catches a large share of made-up numbers and test data. Real validation also requires knowing the issuance date, because the SSA randomised area assignments in 2011.
For the UK, some prefixes are reserved for temporary numbers and certain letter combinations are excluded to avoid offensive words. HMRC publishes the rules; the format alone is looser than the real constraint.
Handling these numbers at all
Both are high-risk identifiers. Collect only when legally required, never store in plaintext, and never use them as an authentication factor — the last four digits of an SSN are widely available in breach data and are routinely used in social-engineering calls.
This tool displays what you paste but stores nothing and sends nothing. Even so, avoid pasting a real number into any web page you do not control: a browser extension with page access can read the field, and that risk does not depend on the site's intentions.
How to use it
- 1.Choose SSN or NINO
- 2.Click Run
- 3.Copy the test number
How SSN / NINO Test Number Generator works under the hood
Life and utility tools combine a calculator with reference data: dates, holidays, postal-code formats, unit conversions. The arithmetic is local; the reference tables are bundled with the page and dated.
- 1
Read the input
Dates are parsed in your local time zone; numbers are parsed with explicit units rather than assumed.
- 2
Look up the rule
Holiday and format rules come from a bundled table, so the answer does not depend on a network call.
- 3
Compute and show assumptions
The result is shown together with the rule applied, because most disputes are about the assumption, not the arithmetic.
Processing pipeline
Reference data has a date
Holiday calendars and administrative formats change. Each page states the year or version it was built from; if the rule changed after that date, the answer is out of date by definition. Check the official source for anything with legal or financial consequences.
Time zones are the usual bug
A date without a time zone is ambiguous. This site interprets dates in your device's zone and says so; two people in different zones can legitimately get different answers for the same input string.
Verify it yourself
The rule applied is printed with the result, so it can be checked against the official source.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Can it generate a real number?
No. It only uses ranges the SSA and HMRC never issue, so every number is guaranteed fictional.
What is it for?
Testing apps and forms with realistic-format dummy data without touching real records.
Can I use it as an identity number?
No. These are test-only numbers and must never be used as real identity numbers.
More in Life & Utility
On this page
- What is SSN / NINO Test Number Generator
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →