Home🇺🇬 UgandaNational Identification Number

National Identification Number generator (Uganda)

A Ugandan NIN is fourteen alphanumeric characters beginning CM (male citizen) or CF (female citizen). The remaining characters are not publicly documented. These test values are synthetic.

Synthetic · not collision-guaranteed Validate a number →
CFAS98KWZP9QRF

Synthetic NIN (format-valid; no public checksum). Not a real issued number.

Format specification

IdentifierNational Identification Number (NIN)
Country🇺🇬 Uganda
FormatAAXXXXXXXXXXXX
Length14 characters
ChecksumNone
ExampleCFK8DNXLLUN9PY
Safe strategy Synthetic
Data qualityBest-effort

National Identification Number: what each part means

AA Prefix: C = citizen plus M/F for sex (CM or CF); other first letters cover residents and refugees.
XXXXXXXXXXXX Twelve alphanumeric characters with no publicly documented structure.

Validation regex

Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()

^C[MF][0-9A-Z]{12}$

References

  1. en.wikipedia.org/wiki/National_identification_number#Uganda

Common questions

Will these pass my validation?

Yes — they are well-formed National Identification Number values (AAXXXXXXXXXXXX) and pass standard format checks.

Could one belong to a real person?

These are synthetic values. They are format-valid but not drawn from a guaranteed reserved range, so use them only for testing.

Can I generate many at once?

Increase the count, or use the free API and CSV/JSON export for large datasets.

Validate an existing number →

For software testing only. These numbers are synthetic and must never be used for real-world identification, applications, or to impersonate anyone.