NINO generator

Valid test National Insurance numbers for United Kingdom, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any NINO against the rules. Everything runs in your browser.

  1. QQ 70 58 77 B
  2. QQ 21 94 27 A
  3. QQ 30 45 30 C
  4. QQ 05 34 31 A
  5. QQ 19 66 28 A
  6. QQ 75 12 36 B
  7. QQ 43 99 89 C
  8. QQ 37 00 32 D
  9. QQ 35 17 40 D
  10. QQ 73 73 43 D
Type or paste a number

Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.

Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.

How a NINO is built

Pattern: QQ 12 34 56 C

Two prefix letters (D, F, I, Q, U, V never used; O not second; BG, GB, KN, NK, NT, TN, ZZ not allocated), six digits, suffix A–D.

Safe by default. The tool uses prefix QQ (used by HMRC in examples, never allocated). Tick the option above only if your validator rejects that range.

Valid and invalid example

ValueResult
QQ 70 58 77 BValid

About the NINO

HMRC and DWP issue National Insurance numbers in the form two letters, six digits and a suffix A–D. Some letters and prefixes are never allocated, and the prefix QQ is used only in examples.

Typical test cases: UK payroll, pension and HR systems, right-to-work flows, and benefits or tax forms.

More sample NINO numbers

QQ 21 94 27 A · QQ 30 45 30 C · QQ 05 34 31 A · QQ 19 66 28 A · QQ 75 12 36 B · QQ 43 99 89 C · QQ 37 00 32 D · QQ 35 17 40 D · QQ 73 73 43 D

Full-range examples (valid format, outside the reserved range): EG 00 31 39 B · YJ 25 01 12 C · XA 82 27 30 C · AE 00 70 04 D

Common questions

Is there a check digit?
No. Validation checks the letters: D, F, I, Q, U and V are never used, O is not used as the second letter, and the pairs BG, GB, KN, NK, NT, TN and ZZ are not allocated.
Are these real NINO numbers?
They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random (by default from a range that is never issued) and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
Can I use a generated NINO on a real application?
No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.

Related tools

Other personal ID formats

SSN (US) · ITIN (US) · DNI (ES) · NIE (ES) · SIN (CA) · CPF (BR) · CURP (MX) · RFC (MX) · NIR (FR) · Codice fiscale (IT) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · NIF (PT) · all formats

Sample profiles with a NINO

Test people for United Kingdom, each with a generated NINO and a drawn profile picture.

  • Beryl BashirianFemale, 24 · born 2002-05-26Leeds, EnglandNINO QQ 54 46 48 B[email protected]
  • Orin GreenfelderMale, 53 · born 1973-06-12Southampton, EnglandNINO QQ 72 05 04 B[email protected]
  • Mike KlockoMale, 24 · born 2002-09-25Bruton, EnglandNINO QQ 37 90 66 A[email protected]
  • Susie HilpertFemale, 70 · born 1956-03-23Leeds, EnglandNINO QQ 03 71 68 A[email protected]

Synthetic people with drawn pictures: not real individuals. Generate more profiles.