Postal code

Lebanon postal codes

Lebanon postal codes have the format #### ####|####, for example 2038 3054. zipcodestack has 1,654 postal codes for Lebanon.

Format
#### ####|####
Example
2038 3054
Codes in our database
1,654
Local name
Postal code

Lebanon postal code format

Pattern#### ####|#### (# digit, @ letter)
Examples2038 3054, 1107 2810, 1000
Regex^(?:(?:\d{4})(?: ?(?:\d{4}))?)$

Format and regex from Google's address metadata (libaddressinput). The regex checks the shape of a code, not whether it exists.

Neighbouring countries

Lebanon postal codes: FAQ

What is the postal code format in Lebanon?

Lebanon postal codes follow the pattern #### ####|#### (# = digit, @ = letter). Examples: 2038 3054, 1107 2810, 1000.

What regex validates Lebanon postal codes?

^(?:(?:\d{4})(?: ?(?:\d{4}))?)$ matches the official format (from Google's address metadata). It checks the shape only; whether a code exists needs a lookup in a postal code database such as the zipcodestack API.

How many postal codes are there in Lebanon?

The zipcodestack database contains 1,654 postal codes for Lebanon, each with place name, region and coordinates.

Postal code API

Look up Lebanon postal codes by API

zipcodestack looks up, validates and searches postal codes in 149 countries: city, state, coordinates, distances and radius search, as JSON.

/v1/search documentation International postal code API All documentation

300 free requests every month. No credit card required.

GET https://api.zipcodestack.com/v1/search?codes=2038+3054&country=lb

{
  "results": {
    "2038 3054": [{
      "postal_code": "2038 3054",
      "country_code": "LB",
      "city": "…",
      "state": "…",
      "latitude": …,
      "longitude": …
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free