Skip to content

Phone validator, +254

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

Type a number with or without +254. The check reads it against the numbering plan for Kenya 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 Kenya is +254 followed by 9 digits, and the first one is 1 or 7.

Digits after +254
9
Starts with
10–14, 18, 7
From abroad
+254 712 123456
Written at home
0712 123456
E.164
+254712123456

After +254, a mobile number starts with 10–14, 18, or 7. Inside Kenya it is written 0712 123456.

Landline numbers never start with 1 or 7, so the first digit tells a mobile number from a landline.

A landline number from Kenya is +254 followed by 7 to 9 digits, and the first one is 2 or 4 to 6.

Digits after +254
7 to 9
Starts with
20, 40–46, 5, 60–62, 64–69
From abroad
+254 20 2012345
Written at home
020 2012345
E.164
+254202012345

After +254, a landline number starts with 20, 40–46, 5, 60–62, or 64–69. Inside Kenya it is written 020 2012345.

Numbers from Kenya come in 4 types, each with its own first digits.

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

TypeDigits after +254Starts withExample
Landline7 to 920, 40–46, 5, 60–62, 64–69+254 20 2012345
Mobile910–14, 18, 7+254 712 123456
Premium rate990+254 900 223 456
Toll-free9 or 1080+254 800 223 456

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

Inside Kenya, numbers are dialed with a 0 that disappears after +254.

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

Written at home
0712 123456
From abroad
+254 712 123456
E.164
+254712123456

4 common mistakes with numbers from Kenya: 3 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 +254 712 123456.

  1. Keeping the 0 after +254

    Valid

    +254 0712 123456

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

  2. One digit missing

    Invalid

    +254 712 12345

    One digit shorter than +254 712 123456. The check returns Invalid.

  3. One digit too many

    Invalid

    +254 712 1234560

    One digit longer than +254 712 123456. The check returns Invalid.

  4. The wrong country selected

    Invalid

    0712 123456

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

Frequently asked questions

How many digits does a phone number from Kenya have?
Counting only the digits after +254, landline numbers have 7 to 9 and mobile numbers have 9.
What do mobile numbers from Kenya start with?
After +254, a mobile number from Kenya starts with 10–14, 18, or 7. Landline numbers never start with 1 or 7, so the first digit tells a mobile number from a landline.
Should I keep the 0 after +254?
No. 0 is the trunk prefix, dialed only inside Kenya. After +254 the national number follows directly: +254 712 123456, stored as +254712123456. The check still accepts +254 0712 123456 and returns +254712123456.
Does a valid result mean a number from Kenya is in use?
No. Valid means the number fits the numbering plan of Kenya: 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 Kenya?
In E.164 form: a plus sign, the country code 254, then the national number without spaces or trunk prefix, such as +254712123456. That is the form the check returns.
Where do these rules come from?
From the numbering plan metadata for Kenya 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