Phone number validator
Tanzania phone number validator
A number is valid in Tanzania when the digits after +255 match one of 6 number types, with 9 digits in all. A mobile number starts 60 to 63, 65 to 69 or 7.
Check a number in Tanzania
Write the number with +255 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 | 60 to 63, 65 to 69 or 7 | 9 | +255 621 234 567 |
| Landline | 22 to 28 | 9 | +255 223 567 764 |
| Toll free | 80 | 9 | +255 808 655 990 |
| Premium rate | 90 | 9 | +255 905 505 506 |
| Shared cost | 84 or 86 | 9 | +255 861 022 586 |
| VoIP | 41 | 9 | +255 416 639 091 |
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 |
|---|---|---|
| +255 621 234 567 | Example number | Passes Valid mobile number. |
| +255 223 567 764 | Landline range | Passes Valid landline number. |
| +255 808 655 990 | Toll free range | Passes Valid toll-free number. |
| +255 905 505 506 | Premium rate range | Passes Valid premium-rate number. |
| 0621234567 | Written the local way | Passes Valid mobile number. |
| +255 62123456 | One digit short | Fails Too short: 8 digits follow the country code, where Tanzania allows 9 digits. |
| +255 6212345676 | Too many digits | Fails Too long: 10 digits follow the country code, where Tanzania allows 9 digits. |
| +255 121 234 567 | Right length, unused start | Fails 9 digits suits mobile, landline, toll-free, premium-rate, shared-cost or VoIP numbers, but a number starting 12 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 +255. The 0 only exists for calls made inside Tanzania. Behind the plus sign and the country code it has to go; a strict system will refuse the number as typed. | +255 0621234567 | Valid mobile number. The 0 after +255 is only for local dialling and is dropped from the international form. Store it as +255621234567. |
Questions about Tanzania numbers
- What makes a phone number valid in Tanzania?
- After the country code, its digits must match the pattern of at least one number type in the plan: mobile, landline, toll free, premium rate, shared cost or VoIP. 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 Tanzania?
- A mobile number is 9 digits long after +255 and starts 60 to 63, 65 to 69 or 7. Written for international use it reads +255 621 234 567; the E.164 form for storing is +255621234567.
- Does the leading 0 count when I validate a number?
- Written the local way, it is removed before the check, so 0621234567 and +255621234567 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 |
Tanzania 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.