Skip to content

+94

Sri Lanka phone numbers

071 234 5678

International +94 71 234 5678, E.164 +94712345678

The numbering plan of Sri Lanka: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as ITU publishes it. A pattern says what a number looks like and where it was allocated; whether it is in service, and who serves it today, is a different question (below).

At a glance

Country code
+94
Exit code
00
Trunk prefix
0
Mobile digits
9
Fixed-line digits
9
Number portability
not listed
Carriers on record
3

How to dial a number in Sri Lanka from anywhere: the dialling helper.

Line types in the plan:MobileFixed lineUAN
Mobile numbers start with:070071072074075076077078
Mobile prefix blocks by operator
Dialog
4
Hutch
2
Mobitel
2

prefix blocks allocated, from the published records; a block is a prefix at the plan's allocation length

Check a number

Valid mobile number in Sri Lanka.

+94
country code
71
network code
2345678
subscriber number
CountrySri Lanka numbering plan
Line typeMobile
Carrier the block was allocated toMobitel
E.164+94712345678
International+94 71 234 5678
National071 234 5678
RFC 3966tel:+94-71-234-5678

Source: National numbering plan: Sri Lanka (ITU)

Test a pattern

Tick the line types you accept, copy the combined pattern, and paste numbers to see which range each one falls in. Numbers are reduced to their national digits first (no spaces, no +94, no trunk prefix 0); nothing leaves your browser.

Line types to accept
^(?:7(?:[0-25-8]\d|4[0-4])\d{6}|(?:12[2-9]|602|8[12]\d|9(?:1\d|22|9[245]))\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\d{6})$
NumberNational digitsMatches
071 234 5678712345678Mobile
0112 345 678112345678Fixed line
0197 312 345197312345not in the ticked types

Need another country, or the pattern as code in your language? Open the regex builder.

Walk the prefixes

Type the first digits of a number in national form, or tap them: the operators holding blocks under those digits, then the block a full prefix falls in. 8 blocks held by 3 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+94
International exit code (dialling out)00
Trunk prefix (national dialling)0
Mobile number length (national digits)9
Fixed-line number length (national digits)9 (7 dialled locally)
E.164 example+94712345678
RFC 3966 (tel: URI)tel:+94-71-234-5678
Mobile number portabilityNot listed

Line types and their regular expressions

Match each pattern against the national significant number: digits only, without the trunk prefix 0 and without +94. The patterns follow the national numbering plan and are anchored here.

Line typeNational digitsExample, nationalExample, E.164
Mobile9071 234 5678+94712345678
Fixed line90112 345 678+94112345678
UAN90197 312 345+94197312345

Mobile, 9 digits

^(?:7(?:[0-25-8]\d|4[0-4])\d{6})$

Fixed line, 9 digits

^(?:(?:12[2-9]|602|8[12]\d|9(?:1\d|22|9[245]))\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\d{6})$

UAN, 9 digits

^(?:1973\d{5})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +94.

OperatorLine typePrefix blocksRanges
DialogMobile4074–077
HutchMobile2072, 078
MobitelMobile2070–071

Questions developers ask

How many digits does a phone number in Sri Lanka have?
Mobile numbers have 9 national digits. Fixed line numbers have 9 national digits (7 when dialled locally). That is the national number, without the country code +94 and without the trunk prefix 0.
What is the country code for Sri Lanka?
+94. From abroad, dial your own exit code, then 94, then the national number without its trunk prefix 0. From inside Sri Lanka, the exit code for international calls is 00.
Which prefixes are mobile numbers in Sri Lanka?
Mobile numbers start with 070, 071, 072, 074, 075, 076, 077 or 078 in national form; the mobile regular expression on this page gives the exact ranges (example: 071 234 5678). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Sri Lanka be ported to another carrier?
Not on record. The plan data this page is built from does not list mobile number portability for Sri Lanka, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it.