NINo UK National Insurance Validator
Validate a UK National Insurance Number (NINo) by checking the format and prefix/suffix rules. Useful for employment, taxes and sign-ups in the United Kingdom.
β
What is a UK National Insurance Number?
The National Insurance Number (NINo) is the UK's unique identifier for the National Insurance and tax systems, administered by HMRC and the DWP. It tracks the contributions and benefits tied to each individual.
Its format is two prefix letters + six digits + one suffix letter, for example QQ 12 34 56 C. QQ123456C is the official placeholder used in examples.
Format rules
Validation is purely about the letters and shape β there is no arithmetic checksum:
- The first and second letters cannot be D, F, I, Q, U or V.
- The second letter additionally cannot be O.
- Disallowed prefixes include
BG,GB,NK,KN,TN,NTandZZ. - The suffix letter must be A, B, C or D.
Why there is no checksum
Unlike many national IDs, the NINo's six digits are essentially a serial number with no built-in check digit. Validation therefore only confirms that the letters and positions follow the rules β it cannot prove the number was actually issued to someone.
Common pitfalls
- Allowing forbidden letters such as
D,F,I,Q,UorVin the prefix. - Accepting a suffix outside
A-D(for instanceEor a digit). - Forgetting that some two-letter combinations like
BGorZZare reserved and never issued. - Expecting a checksum to catch typos β there isn't one, so the six digits cannot be self-verified.
FAQ
Does the NINo have a check digit? No. Validation is limited to the letter and format rules; the digits carry no checksum.
Is QQ123456C a real number? No. It is the standard placeholder used in documentation and forms, never a genuine allocation.
Why are spaces shown in the number? The grouped form QQ 12 34 56 C is only for readability β strip spaces before validating.
Related Tools
Canada SIN Format Validator
Validate the format of a Canadian SIN (Social Insurance Number) in the 3-3-3 digit pattern. Useful for forms, sign-ups and data validation in Canada.
US SSN Format Validator
Validate the format of a US SSN (Social Security Number) in the 3-2-4 digit pattern. Useful for forms, sign-ups and data validation in the United States.
Detailed BIC/SWIFT Validator
Validates BIC format (8 or 11 chars) and extracts bank, country, location and branch β used in international wires.
hreflang vs lang Consistency Checker
Compares the html lang attribute with the main link hreflang value and flags an exact match, the same base language with a different region, or a mismatch.
Country-aware Cellphone Validator
Validate mobile phone number for chosen country (BR, US, PT, ES, AR, MX). Country-specific rules.
Twitter/X @handle Validator
Validate Twitter/X handle format: 1-15 chars, letters, digits and _. Does not check availability.