The National Insurance Number of United Kingdom. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | GBR, GB, UK |
| ID type | National Insurance Number |
| Official name | National Insurance Number (NINO) |
| Also known as | National Insurance Number; NINO |
| Display format | LL######L |
| Input masks | LL######L |
| Length | 9 |
| Example | AB123456C |
| Checksum | no |
| Checksum algorithm | None (validated via prefix/suffix rules) |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('GBR', 'AB123456C').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/gbr and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/gbr';
register(country);
validateNationalId('GBR', 'AB123456C').isValid; // true