Phone number validator
Sri Lanka phone number validator
A number is valid in Sri Lanka when the digits after +94 match one of 3 number types, with 9 digits in all. A mobile number starts 70 to 72 or 74 to 78.
Check a number in Sri Lanka
Write the number with +94 or the local way. The check runs in your browser and nothing is sent.
Rules by number type
Digits are counted after the country code. Starts are the first digits the plan allows for the type.
| Type | Starts with | Digits | Sample |
|---|---|---|---|
| Mobile | 70 to 72 or 74 to 78 | 9 | +94 71 234 5678 |
| Landline | 1, 2, 3, 4, 5, 6, 8 or 9 (some ranges only) | 9 | +94 11 433 9130 |
| Universal access | 19 | 9 | +94 19 735 9507 |
Test numbers and what the check says
Every result below comes from the same check as the validator above. Use a number to see how it fails.
| Number | Case | Result |
|---|---|---|
| +94 71 234 5678 | Example number | Passes Valid mobile number. |
| +94 11 433 9130 | Landline range | Passes Valid landline number. |
| +94 19 735 9507 | Universal access range | Passes Valid universal access number. |
| 0712345678 | Written the local way | Passes Valid mobile number. |
| +94 71234567 | One digit short | Fails Too short: 8 digits follow the country code, where Sri Lanka allows 9 digits. |
| +94 7123456787 | Too many digits | Fails Too long: 10 digits follow the country code, where Sri Lanka allows 9 digits. |
| +94 73 234 5678 | Right length, unused start | Fails 9 digits suits mobile, landline or universal access numbers, but a number starting 73 is not in any of those ranges. |
Test numbers are computed from the rules and never dialled. A passing one proves the pattern, not that someone owns it.
Mistakes to look for
| Mistake | Example | Result |
|---|---|---|
| Keeping the 0 after +94. The 0 only exists for calls made inside Sri Lanka. Behind the plus sign and the country code it has to go; a strict system will refuse the number as typed. | +94 0712345678 | Valid mobile number. The 0 after +94 is only for local dialling and is dropped from the international form. Store it as +94712345678. |
| Typing 00 and a plus sign together. 00 is the dialled form of the plus sign. One of the two is enough, never both. | +0094712345678 | It starts with +00, but numbers in Sri Lanka start with +94. |
Questions about Sri Lanka numbers
- What makes a phone number valid in Sri Lanka?
- After the country code, its digits must match the pattern of at least one number type in the plan: mobile, landline or universal access. The count is 9 digits in all, and each type has its own count and its own starting digits, shown in the table above.
- How do I write a mobile number for Sri Lanka?
- A mobile number is 9 digits long after +94 and starts 70 to 72 or 74 to 78. Written for international use it reads +94 71 234 5678; the E.164 form for storing is +94712345678.
- Does the leading 0 count when I validate a number?
- Written the local way, it is removed before the check, so 0712345678 and +94712345678 give the same result. Behind a plus sign the check still accepts it, with a note to store the number without it.
- Does a valid result mean the number is in service?
- No. The check reads the numbering plan only: it never rings the number and cannot tell whether a subscriber holds it today. It rules out numbers that cannot exist.
Validate numbers in bulk
The page checks one number at a time. The phone lookup does the same check for any country from the API, and reports the number type the numbering plan assigns with each result.
| Product | Credits | Docs |
|---|---|---|
| Phone Numbering-Plan Validation | 1 credit per valid number | API docs |
Sri Lanka country code and dialling · Phone number formatter · Validate a number from any country
Rules: version 1.13.15 of libphonenumber-js, published 8 October 2026, built on Google's libphonenumber metadata. LookValid is not connected to Google or to any phone company named here.