UK National Insurance Number (NINO) Format Validator
Paste one or more National Insurance numbers to test the letters, the digits and the suffix and to see the number in standard spacing.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste the numbers
Type or paste one NINO per line.
- 2Run the check
The tool tests the pattern and the letters.
- 3Check each line
A NINO is marked as passed or failed.
- 4See the standard form
A valid number is shown with spaces.
- 5Fix the errors
Read which rule failed.
About this tool
A UK National Insurance number, or NINO, has two letters, six digits and a final letter, written like AB 12 34 56 C. The format has rules: the first letter cannot be D, F, I, Q, U or V, the second letter cannot be D, F, I, O, Q, U or V, a few prefixes such as BG, GB, KN, NK, NT, TN and ZZ are not used, and the last letter is A, B, C or D. This validator checks these rules and shows the number in the usual spacing. It does not check whether a number was issued to anyone.
Who this is for
Employers and payroll staff who enter new starters, landlords and agents who record tenants, developers who validate forms, and people who want to check that they copied their own number correctly.
The structure
The NINO has three parts. The two prefix letters, the six digits and the suffix. For many years the suffix showed a quarter, from A to D, in which an insurance card was issued. Today it is just a letter from A to D, and the number stays the same for life. The number has no check digit, so there is no way to prove that a particular number is real by calculation.
The letter rules
The first letter cannot be D, F, I, Q, U or V. The second letter cannot be D, F, I, O, Q, U or V. The letter O may be used as the first letter but not the second. The combinations BG, GB, KN, NK, NT, TN and ZZ are not allocated. The tool rejects numbers with these prefixes and says whether the problem is in the letters or in a blocked prefix.
Temporary and special numbers
A number that starts with TN is a temporary number used by some employers when a new employee has not provided a real one, and it is not valid for tax and benefit records. Numbers that start with certain prefixes are used for administrative purposes. If you are given a temporary number, ask the person for the real number or help them to find it from their HMRC online account or an official letter.
Using the validator
Paste one number per line, with or without spaces. The tool makes the letters capital and tests the length, the pattern, the letters, the blocked prefixes and the suffix. A valid number is shown as AB 12 34 56 C. The sample has valid and invalid lines. All tests are done in your browser.
Worked example
AB123456C passes: both prefix letters are allowed, six digits follow and the suffix is C. BG123456A fails because BG is not an allocated prefix. DA123456C fails because D is not allowed as a first letter. AB123456E fails because the suffix must be A, B, C or D.
What a pass does not mean
A correct format does not show that a number was issued, that it belongs to the person who gave it to you or that the person has the right to work. Employers should check right-to-work status with the proper documents, and match the NINO with the person through the HMRC process.
Privacy
A NINO is personal data. Avoid sharing it by email or in public places. This tool does not send or store it. For tests, use numbers that you made up.
Limits
This is a format check only and not legal or tax advice.
Worked example
AB123456C passes the NINO format rules and is shown as AB 12 34 56 C, while BG123456A fails because the BG prefix is not used.
Quick facts
- Category: UK & US
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: HMRC and DWP (National Insurance number format)
Frequently asked questions
What does a NINO look like?
Two letters, six digits and a final letter A to D, for example AB 12 34 56 C.
Which letters are not allowed?
D, F, I, Q, U and V as the first letter, and D, F, I, O, Q, U and V as the second.
Which prefixes are not used?
BG, GB, KN, NK, NT, TN and ZZ.
Is there a check digit?
No, so a pass shows only that the format is right.
What is a TN number?
A temporary number used by some employers. It is not valid for official records.
Is my data stored?
No. The check runs in your browser.
