Tanzania NIDA number validator
The Tanzanian NIDA National Identification Number (NIN), Namba ya Kitambulisho, is the 20-digit number the National Identification Authority issues to every registered resident. This tool — for HR teams, KYC reviewers, and anyone double-checking a typed number — validates the format offline and decodes the date of birth carried inside the number.
How it works
A NIN is 20 digits, conventionally written as four hyphen-separated blocks: YYYYMMDD-NNNNN-NNNNN-NN.
| Digits | Block | Meaning |
|---|---|---|
| 1–8 | YYYYMMDD | Date of birth (4-digit year, month, day) |
| 9–13 | NNNNN | Registration-centre / location block |
| 14–18 | NNNNN | Applicant serial block |
| 19–20 | NN | Trailing control block |
The tool strips any hyphens, confirms there are exactly 20 digits, then parses digits 1–8 as a date and checks it is a real calendar date (month 1–12, a valid day, year between 1900 and today). NIDA does not publish a check-digit formula, so digits 19–20 are displayed but not mathematically verified.
Example
Enter 19900101-12345-12345-12. The tool reads digits 1–8 as 19900101, which decodes to a date of birth of 1 January 1990 — a valid date, so the number passes the format check. The registration-centre block reads 12345, the applicant serial 12345, and the control block 12.
Privacy-first: everything runs locally in your browser with no network requests — your number never leaves your device and is never checked against the NIDA database.