Home🇪🇬 EgyptNational ID Number

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 · not collision-guaranteed Validate a number →
2-770115-88-9683-2

Synthetic Egyptian ID (format-valid). The final check digit’s algorithm is not published, so only structure is guaranteed.

Format specification

IdentifierNational ID Number
Country🇪🇬 Egypt
Format0-000000-00-0000-0
Length14 characters
ChecksumNone
Example2-820427-03-3784-6
Safe strategy Synthetic
Data qualityBest-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

  1. en.wikipedia.org/wiki/Egyptian_National_Identity_Card

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.

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.