Egyptian National ID Validator
Validate 14-digit Egyptian National Identity Cards in real time.
Egyptian National ID Validation
Checks the 14-digit pattern, century digit, birth date valid ranges, and official governorate codes.
Essential for MENA region identity verification and onboarding systems.
Anatomy & Structure of National ID — Egypt
The Egyptian National ID consists of 14 digits structured in 5 parts:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 | Century of Birth | 1 digit | 2 = Born 1900–1999; 3 = Born 2000–2099 | 2 |
| 2 to 7 | Date of Birth (YYMMDD) | 6 digits | Year (2 digits), Month (01–12), Day (01–31) | 900115 |
| 8 & 9 | Governorate Code | 2 digits | 01=Cairo, 02=Alexandria, 03=Port Said, 04=Suez, etc. (88=Abroad) | 01 |
| 10 to 13 | Daily Sequence & Gender | 4 digits | Digit 13: odd = Male, even = Female | 1231 |
| 14 | Check Digit | 1 digit | CSO checksum validation digit | 9 |
Official National ID Validation (Civil Status Organization Egypt)
Compliance rules for Egyptian National ID:
14 digits: Century (2/3) + Date YYMMDD + Province (01-35, 88) + Gender in 13th pos.
- 1. Verify length of 14 numeric digits.
- 2. Validate century digit (2 for 20th century, 3 for 21st century).
- 3. Validate birth date in calendar.
- 4. Validate governorate code against official Egyptian governorate table.