Postal code

Sri Lanka postal codes

Sri Lanka postal codes have the format ##### (5 digits), for example 20000. zipcodestack has 1,841 postal codes for Sri Lanka in 9 regions.

Format
#####
Example
20000
Codes in our database
1,841
Local name
postal code

Sri Lanka postal code format

Pattern##### (# digit, @ letter)
Examples20000, 00100
Regex^(?:\d{5})$
Official lookupwww.slpost.gov.lk

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

Postal Codes by region

RegionRangeCodes
Central Province20000 – 22287305
Eastern Province30000 – 32514146
North Central Province50000 – 51518189
Northern Province40000 – 430004
North Western Province60000 – 61534282
Province of Uva70250 – 96167190
Sabaragamuwa Province70000 – 71724219
Southern Province80000 – 82638235
Western Province00100 – 12580263

Postal Codes of the largest cities

Sri Lanka postal codes: FAQ

What is the postal code format in Sri Lanka?

Sri Lanka postal codes follow the pattern ##### (# = digit, @ = letter), i.e. 5 digits. Examples: 20000, 00100.

What regex validates Sri Lanka postal codes?

^(?:\d{5})$ 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.

What is the postal code of Colombo?

Colombo has 12 postal codes, starting with 00100. The right one depends on the street; see the full list for Colombo.

How many postal codes are there in Sri Lanka?

The zipcodestack database contains 1,841 postal codes for Sri Lanka, each with place name, region and coordinates.

Postal code API

Look up Sri Lanka 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=20000&country=lk

{
  "results": {
    "20000": [{
      "postal_code": "20000",
      "country_code": "LK",
      "city": "…",
      "state": "…",
      "latitude": …,
      "longitude": …
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free