Home🇰🇪 KenyaNational ID Number

National ID Number generator (Kenya)

A Kenyan national ID number is eight digits (older cards used seven) with no checksum. These test values are synthetic.

Synthetic · not collision-guaranteed Validate a number →
20599267

Synthetic ID number (format-valid; the scheme has no checksum). Not a real issued number.

Format specification

IdentifierNational ID Number
Country🇰🇪 Kenya
Format00000000
Length7 or 8 characters
ChecksumNone
Example32913633
Safe strategy Synthetic
Data qualityVerified against sources

National ID Number: what each part means

00000000 Sequential number assigned at registration — no personal data is encoded.

Validation regex

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

^\d{7,8}$

References

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

Common questions

Will these pass my validation?

Yes — they are well-formed National ID Number values (00000000) 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.