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.
- QQ 70 58 77 B
- 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
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
| Value | Result |
|---|---|
| QQ 70 58 77 B | Valid |
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
- UK VAT generator: UK VAT registration number
- United Kingdom address generator: addresses with real cities and postcodes
- Fake United Kingdom profile: name, address, date of birth and ID numbers together
- Test data generator: export profiles with ID columns as CSV, JSON or SQL
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.
Synthetic people with drawn pictures: not real individuals. Generate more profiles.