Two letters, six digits and a final letter, written like QQ 12 34 56 C. The final letter is always A, B, C or D, a leftover from the old quarterly contribution cards.
Generate and validate UK National Insurance numbers for testing, with a rule-by-rule explanation.
A UK National Insurance number (NINO) is made of 2 letters, 6 digits and a final letter that is always A, B, C or D. HMRC's National Insurance Manual (NIM39110) adds the rules this tool checks: D, F, I, Q, U and V are never the first or second letter, O is never the second letter, and the prefixes BG, GB, KN, NK, NT, TN and ZZ are not used. Valid format follows all of those rules, so it suits the happy path of a form or an API. It can still coincide with a number issued to a real person, so keep it out of screenshots and public demos. Safe test uses only prefixes that HMRC documents as never assigned: QQ, which the manual uses in its own example (QQ 12 34 56 A), and the unassigned prefixes. A correct validator rejects them on purpose. There is no check digit in a NINO, so nothing here can prove a number was issued. Never use a generated number to impersonate anyone or pass a real check.
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframe
src="https://jkit.tools/embed/en-US/uk-nino-generator"
width="100%"
height="600"
style="border:0"
loading="lazy"
title="UK NINO Generator"
></iframe>These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Two letters, six digits and a final letter, written like QQ 12 34 56 C. The final letter is always A, B, C or D, a leftover from the old quarterly contribution cards.