Skip to content

Phone validator, +252

This free phone number checker for Somalia shows whether a number is valid.

Type a number with or without +252. The check reads it against the numbering plan for Somalia in Google's libphonenumber metadata and returns its status, line type and E.164 form.

Try an example
ValidExample
E.164
+12015550123
National
(201) 555-0123
Country
United States (US)
Calling code
+1
Line type
Landline or mobile
Carrier (range holder)
Not available
Region
New Jersey
Time zones
America/New_York
Current carrier (live network)
Unlock with a free account
Ported number
Unlock with a free account
MCC / MNC
Unlock with a free account
Bulk CSV upload
Unlock with a free account
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

A mobile number from Somalia is +252 followed by 7 to 9 digits, and the first one is 1 to 4 or 6 to 9.

Digits after +252
7 to 9
Starts with
15, 24, 28, 35, 39, 48, 49, 6, 7, 80, 88, 90, 92–99
From abroad
+252 7 1123456
Written at home
7 1123456
E.164
+25271123456

After +252, a mobile number starts with 15, 24, 28, 35, 39, 48, 49, 6, 7, 80, 88, 90, or 92–99. Inside Somalia it is written 7 1123456.

Some mobile and landline numbers share their first two digits, so those digits are not enough to tell the two apart: the check reads the full number.

A landline number from Somalia is +252 followed by 6 or 7 digits, and the first one is 1 to 5 or 8.

Digits after +252
6 or 7
Starts with
1, 20–27, 29, 3, 4, 55, 57–59, 81, 82, 85
From abroad
+252 4 012345
Written at home
4 012345
E.164
+2524012345

After +252, a landline number starts with 1, 20–27, 29, 3, 4, 55, 57–59, 81, 82, or 85. Inside Somalia it is written 4 012345.

Numbers from Somalia come in 2 types, each with its own first digits.

Each row is a line type of the numbering plan, with the number of digits after +252 and the digits it starts with.

TypeDigits after +252Starts withExample
Landline6 or 71, 20–27, 29, 3, 4, 55, 57–59, 81, 82, 85+252 4 012345
Mobile7 to 915, 24, 28, 35, 39, 48, 49, 6, 7, 80, 88, 90, 92–99+252 7 1123456

Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.

Inside Somalia, the trunk prefix 0 can be dialed before a number, and it never follows +252.

The 0 is a trunk prefix: it is dialed only inside Somalia, and an international or E.164 number never includes it.

Written at home
7 1123456
From abroad
+252 7 1123456
E.164
+25271123456

4 common mistakes with numbers from Somalia: 2 of them fail the check

Each example below was run through the same check as the tool on this page, starting from the valid number +252 7 1123456.

  1. Keeping the 0 after +252

    Valid

    +252 07 1123456

    The trunk prefix 0 is only dialed inside Somalia: after +252 it does not belong. The check reads it as +25271123456 anyway. Store that E.164 form: a system that compares numbers as text would see two different numbers.

  2. One digit missing

    Invalid

    +252 7 112345

    One digit shorter than +252 7 1123456. The check returns Invalid.

  3. One digit too many

    Valid

    +252 7 11234560

    One digit longer than +252 7 1123456. The check accepts it as +252711234560, a valid number from Somalia, but not the number you meant.

  4. The wrong country selected

    Invalid

    7 1123456

    Typed as a national number with Ethiopia selected in the country menu, it is read as a number on +251. The check returns Invalid.

Frequently asked questions

How many digits does a phone number from Somalia have?
Counting only the digits after +252, landline numbers have 6 or 7 and mobile numbers have 7 to 9.
What do mobile numbers from Somalia start with?
After +252, a mobile number from Somalia starts with 15, 24, 28, 35, 39, 48, 49, 6, 7, 80, 88, 90, or 92–99. Some mobile and landline numbers share their first two digits, so those digits are not enough to tell the two apart: the check reads the full number.
Should I keep the 0 after +252?
No. 0 is the trunk prefix, dialed only inside Somalia. After +252 the national number follows directly: +252 7 1123456, stored as +25271123456. The check still accepts +252 07 1123456 and returns +25271123456.
Does a valid result mean a number from Somalia is in use?
No. Valid means the number fits the numbering plan of Somalia: a possible length and a range that exists for its line type. It does not tell whether anyone holds the number today.
How should I store a number from Somalia?
In E.164 form: a plus sign, the country code 252, then the national number without spaces or trunk prefix, such as +25271123456. That is the form the check returns.
Where do these rules come from?
From the numbering plan metadata for Somalia in Google's libphonenumber v9.0.44, read through libphonenumber-js 1.13.17. The same metadata drives the free check on this page.

Numbering plan from Google's libphonenumber v9.0.44 metadata, read through libphonenumber-js 1.13.17.

All data sources and licenses

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time