Uganda NIN Validator & Decoder — Class, Gender & Birth Year

Validate a 14-character Ugandan NIN and decode its class, gender and birth-year digits.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Uganda NIN validator and decoder

The NIN (National Identification Number) is the unique identity number issued by Uganda’s National Identification and Registration Authority (NIRA) and printed on the National ID card (Ndaga Muntu). It is required for voter registration, opening a bank account, SIM registration, employment and access to many government services. Unlike most national IDs it is alphanumeric, so it needs character-level rather than numeric validation. This tool checks the format and decodes the documented parts, entirely offline.

How it works

A NIN is exactly 14 alphanumeric characters (A–Z and 0–9), upper-cased automatically. By documented convention the layout is [C][G][YY] followed by a 10-character serial:

  • Position 1 — applicant class: C = Ugandan citizen, F = foreign / non-citizen record.
  • Position 2 — gender code: M = male, F = female.
  • Positions 3–4 — the last two digits of the year of birth.
  • Positions 5–14 — a serial assigned by NIRA.

NIRA does not publish a check-digit algorithm, so the only deterministic offline checks are the 14-character alphanumeric format and a recognised class and gender prefix. The serial itself cannot be verified.

Example

Take the NIN CM90012345678X. The tool reads position 1 as C (Ugandan citizen), position 2 as M (male), positions 3–4 as 90 (born in a year ending in 90), and the remaining 012345678X as the NIRA serial. The format passes — 14 valid alphanumeric characters with a recognised class and gender — so it is well-formed, though NIRA alone can confirm it was actually issued.

PositionFieldExample
1Applicant classC (citizen)
2GenderM / F
3–4Birth year (last 2 digits)90
5–14NIRA serial012345678X

Privacy-first: everything runs in your browser with no network requests. The tool decodes structure only — it never queries the NIRA database, and your NIN never leaves your device.

Ad placeholder (rectangle)