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) |
|---|---|
| Examples | 20000, 00100 |
| Regex | ^(?:\d{5})$ |
| Official lookup | www.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
| Region | Range | Codes |
|---|---|---|
| Central Province | 20000 – 22287 | 305 |
| Eastern Province | 30000 – 32514 | 146 |
| North Central Province | 50000 – 51518 | 189 |
| Northern Province | 40000 – 43000 | 4 |
| North Western Province | 60000 – 61534 | 282 |
| Province of Uva | 70250 – 96167 | 190 |
| Sabaragamuwa Province | 70000 – 71724 | 219 |
| Southern Province | 80000 – 82638 | 235 |
| Western Province | 00100 – 12580 | 263 |
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
Bulk ZIP code lookup
City and coordinates for a list.
Distance between ZIP codes
Miles or km between ZIP codes.
ZIP codes in a drawn area
Draw an area, get its codes.
What is my ZIP code?
Find the ZIP code where you are.
ZIP code radius search
All codes within X miles of a code.
Postal code validator
Is this postal code real?
Postal codes by countryFormats, regions and cities for 149 countries.