Egypt National ID Generator
Generate 14-digit Egyptian national ID numbers with century, birth date and governorate — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Generate a national ID
EG NID · Generate29001010112345Century 2, birth date 1990-01-01 and governorate 01 (Cairo); the sequence is female.
Reject month 13
29013011234567Invalid — birth month 13 (digits 4-5)The month digits must be 01–12 and the day must exist in that month.
Reject an unknown governorate
29001019934567Invalid — unknown governorate code 99Only the codes on the documented list are accepted, and 88 is reserved for births abroad.
About this tool
The Egypt National ID Generator produces one 14-digit national ID in the layout the Civil Status Organization documents: a century digit, a YYMMDD birth date, a two-digit governorate code, a four-digit sequence, and a final check digit.
The first digit is 2 for 1900–1999 and 3 for 2000–2099. The governorate code maps to an Egyptian governorate, with 88 reserved for people born outside Egypt. The last of the four sequence digits is odd for men and even for women. The 14th check digit algorithm is not public, so the validator confirms the structure, the birth date and the governorate only and says so in its output.
These are synthetic values for QA and development: never use them on real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used. A random value can coincidentally match a real national ID. Everything runs locally in your browser.
What this tool does not do
- The final check digit is not verified because its algorithm is not published.
- Validation cannot confirm that a number is assigned or that it belongs to a person.
- The tool accepts the documented governorate codes only, so any newer code needs a manual sample.
- A generated value can coincide with a real national ID.
How to use this tool
Open the national ID generator
The tool is pinned to the 14-digit Egyptian national ID, so there is no option to choose.
Generate a value
Click Generate to create one number with a real birth date, a governorate code and a gender digit.
Copy or validate
Copy the ID to an identity fixture or download it as a .txt file, or switch to Validate to check a pasted value.
Use cases
Identity form fixtures
Fill Egyptian onboarding mocks with a value that carries a real birth date and governorate.
Derived-field tests
Check that your form derives gender or governorate from the ID instead of asking for them.
Negative-path tests
Use an invalid month or governorate to confirm each structural rejection is reachable.
Egyptian national ID layout
| Digits | Meaning |
|---|---|
| 1 | Century: 2 = 1900s, 3 = 2000s |
| 2–7 | YYMMDD birth date |
| 8–9 | Governorate code; 88 = born outside Egypt |
| 10–13 | Sequence; last digit odd = male, even = female |
| 14 | Check digit — algorithm not public, not verified |
The validator names the failing part, such as an invalid month or an unknown governorate.
Common mistakes
Mistake:Treating the check digit as verifiable
Fix:The algorithm is not public, so the tool checks structure, date and governorate only.
Mistake:Reading the governorate from the wrong digits
Fix:Digits 8–9 hold the governorate, not the last two digits of the birth date.
Mistake:Assuming digit 14 encodes gender
Fix:Gender comes from the parity of digit 13, the last sequence digit.
Frequently asked questions
Are these real Egyptian national IDs?
No. They are synthetic values for QA and development, never for real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how they are used.
Is the 14th digit verified?
No. The check digit algorithm is not public, so the validator confirms the structure, birth date and governorate only.
What does the first digit mean?
It marks the century: 2 for 1900–1999 and 3 for 2000–2099, followed by a YYMMDD birth date.
What is governorate code 88?
It is reserved for people born outside Egypt; every other accepted code maps to an Egyptian governorate.
How is gender encoded?
The last of the four sequence digits, digit 13, is odd for men and even for women.
Related tools
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.