Home🇱🇧 LebanonNational ID Number

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

IdentifierNational ID Number (الرقم الوطني)
Country🇱🇧 Lebanon
Format000000000000
Length12 characters
ChecksumNone
Example729136335394
Safe strategy Synthetic
Data qualityBest-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

  1. en.wikipedia.org/wiki/Lebanese_identity_card

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.

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.