How to use Egyptian national ID decoder
- 01Type the number14 digits, Arabic digits work too.
- 02Read the partsBirth date, governorate, gender.
- 03See the workingWhich digit means what.

2 820815 13 0459 7: male, born 15 August 1982, Sharqia.
The first 13 digits of the الرقم القومي follow a fixed pattern: century, date of birth, governorate of birth and a serial whose last digit gives the gender. The tool reads each part and explains it. It doesn’t check the 14th digit, because its formula isn’t published.
استخراج تاريخ الميلاد من الرقم القومي takes a few seconds once you know the pattern. The 14-digit Egyptian national ID number starts with the century and date of birth, then the governorate of birth, then a serial whose last digit gives the gender. Type a number above to decode it, or use the table below to read one by hand.
The 14 digits, one by one
The executive regulations of Egypt’s Civil Status Law (Law 143 of 1994, regulations dated January 1995) set out this layout: century, six digits for the date of birth, two for the governorate of birth, a four-digit serial and a last digit for checking the number. They don’t say how that last digit is worked out. The odd/even gender rule for the 13th digit comes from public references such as Wikipedia, not from that text.
- Digit 1: century of birth. 2 means born 1900–1999, 3 means born 2000–2099.
- Digits 2–7: date of birth as year, month, day (YYMMDD).
- Digits 8–9: the governorate where the birth was registered.
- Digits 10–13: a serial that tells apart people born on the same day in the same governorate. The 13th digit is odd for a man and even for a woman.
- Digit 14: a check digit.
A worked example: 28208151304597
Type it above to see the same result with the age worked out for today.
- 2: born in the 1900s.
- 820815: 15 August 1982.
- 13: Sharqia (الشرقية).
- 0459: serial. Its last digit, 9, is odd, so male.
- 7: check digit, not checked.
Governorate codes in the national ID (كود المحافظات)
Codes outside this list, such as 05 or 30, aren’t used, so the tool flags them as a likely typo.
- 01 Cairo (القاهرة), 02 Alexandria (الإسكندرية), 03 Port Said (بورسعيد), 04 Suez (السويس).
- 11 Damietta (دمياط), 12 Dakahlia (الدقهلية), 13 Sharqia (الشرقية), 14 Qalyubia (القليوبية), 15 Kafr El Sheikh (كفر الشيخ), 16 Gharbia (الغربية), 17 Monufia (المنوفية), 18 Beheira (البحيرة), 19 Ismailia (الإسماعيلية).
- 21 Giza (الجيزة), 22 Beni Suef (بني سويف), 23 Fayoum (الفيوم), 24 Minya (المنيا), 25 Asyut (أسيوط), 26 Sohag (سوهاج), 27 Qena (قنا), 28 Aswan (أسوان), 29 Luxor (الأقصر).
- 31 Red Sea (البحر الأحمر), 32 New Valley (الوادي الجديد), 33 Matruh (مطروح), 34 North Sinai (شمال سيناء), 35 South Sinai (جنوب سيناء).
- 88 born outside Egypt (خارج الجمهورية).
Why the last digit isn’t checked
The 14th digit is a check digit, meant to catch typing mistakes. Its formula isn’t published, so a tool that gives a “valid” or “invalid” verdict on it is relying on a formula the authority that issues the cards hasn’t confirmed, and that verdict can be wrong.
This tool reads the parts that have a known meaning and says plainly that it doesn’t check the last digit. A number that passes here follows the pattern; it isn’t proven to be real.
حساب السن من الرقم القومي: working out the age
The age shown is in completed years on today’s date, from the date of birth in digits 1–7. If you need the age on another date, for example an application deadline, copy the birth date from the result into an age calculator.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Can this tell me if a national ID number is real?
No. It reads the pattern of the first 13 digits. The last digit is a check digit whose formula isn’t published, so the tool doesn’t claim to check it, and nothing is looked up.
Is the governorate where I live now?
No. Digits 8 and 9 are the governorate where the birth was registered, and code 88 means born outside Egypt. They don’t change when you move.
How do I know if the number belongs to a man or a woman?
Look at the 13th digit, the one before the last. Odd means male and even means female.
Is the number sent anywhere?
No. Everything runs in your browser.
Can I find someone’s name from the national ID number?
No. The number itself only holds the birth date, governorate of birth and gender. Names and addresses are in the civil registry, which this tool doesn’t touch.
Can I type the number in Arabic digits?
Yes. ٢٨٢٠٨١٥١٣٠٤٥٩٧ is read the same as 28208151304597.
Does the governorate change if I move?
No. It is the governorate where the birth was registered, so it stays the same for life.