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
| Identifier | National ID Number |
|---|---|
| Country | 🇰🇪 Kenya |
| Format | 00000000 |
| Length | 7 or 8 characters |
| Checksum | None |
| Example | 32913633 |
| Safe strategy | Synthetic |
| Data quality | Verified 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
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.
For software testing only. These numbers are synthetic and must never be used
for real-world identification, applications, or to impersonate anyone.