National ID Number generator (Egypt)
An Egyptian national ID is fourteen digits — a century digit, date of birth, governorate code, serial, and a final check digit whose algorithm is not published. These test values are synthetic and format-valid.
Synthetic Egyptian ID (format-valid). The final check digit’s algorithm is not published, so only structure is guaranteed.
Format specification
| Identifier | National ID Number |
|---|---|
| Country | 🇪🇬 Egypt |
| Format | 0-000000-00-0000-0 |
| Length | 14 characters |
| Checksum | None |
| Example | 2-820427-03-3784-6 |
| Safe strategy | Synthetic |
| Data quality | Best-effort |
National ID Number: what each part means
| 0 | Century of birth: 2 = 1900s, 3 = 2000s. These test values use 2. |
|---|---|
| 000000 | Date of birth as YYMMDD. |
| 00 | Governorate where the birth was registered (88 = born abroad). |
| 0000 | Serial number; on real numbers the last of these digits encodes sex (odd = male, even = female). Test values use random digits. |
| 0 | Check digit. The algorithm is not officially published, so validators should not rely on it. |
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^[23]\d{13}$ References
Common questions
Will these pass my validation?
Yes — they are well-formed National ID Number values (0-000000-00-0000-0) 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.