National ID Number generator (Lebanon)
A Lebanese national ID number (the lifetime unique identification number under Law 241/2012) is twelve digits. Official sources describe it as randomly generated, and no checksum is published. These test values are synthetic.
Synthetic · not collision-guaranteed Validate a number →
605992674944
Synthetic national ID (format-valid; no public structure or checksum). Not a real issued number.
Format specification
| Identifier | National ID Number (الرقم الوطني) |
|---|---|
| Country | 🇱🇧 Lebanon |
| Format | 000000000000 |
| Length | 12 characters |
| Checksum | None |
| Example | 729136335394 |
| Safe strategy | Synthetic |
| Data quality | Best-effort |
National ID Number: what each part means
| 000000000000 | Twelve digits kept for life across card renewals. The World Bank ID4D review describes the number as random and non-descriptive; no structure or checksum is published. |
|---|
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^\d{12}$ References
Common questions
Will these pass my validation?
Yes — they are well-formed National ID Number values (000000000000) 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.
For software testing only. These numbers are synthetic and must never be used
for real-world identification, applications, or to impersonate anyone.