Phone Number Validator and Formatter avatar

Phone Number Validator and Formatter

Pricing

from $0.20 / 1,000 number checkeds

Go to Apify Store
Phone Number Validator and Formatter

Phone Number Validator and Formatter

Validate and clean phone numbers in bulk for any country: whether each is a real, dialable number, its country, whether it is a mobile or a landline, and the number in international, national and E.164 formats ready for a CRM or SMS tool.

Pricing

from $0.20 / 1,000 number checkeds

Rating

0.0

(0)

Developer

jake mcclure

jake mcclure

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Validate and clean phone numbers in bulk, for every country. For each number you learn whether it is a real, dialable number, which country it belongs to, whether it is a mobile or a landline, and you get it back in the standard formats: E.164 for CRMs and SMS tools, international and national for people.

Numbers can be written any way: with spaces, brackets, dashes, a leading +, 00, or in national form. The check uses the official numbering plans of each country (the same data phones use), so it is instant and nothing is ever called or messaged.

Use it to:

  • clean a contact list before an SMS or calling campaign, so you do not pay for dead numbers
  • put every number in a CRM into one format (E.164) so duplicates can be found
  • separate mobiles from landlines
  • catch mistyped numbers in sign-up or lead forms
  • find which country each number in a mixed list belongs to

Input

FieldWhat it does
Phone numbersOne per line, written any way.
Default countryThe two-letter country to assume for numbers written without a + and country code, such as US, GB or DE. Leave empty if every number has its country code.
{
"numbers": ["+44 20 7946 0958", "(415) 555-2671", "0044 20 7946 0958", "+33 6 12 34 56 78"],
"defaultCountry": "US"
}

Output

One record per number:

{
"input": "+33 6 12 34 56 78",
"valid": true,
"possible": true,
"e164": "+33612345678",
"international": "+33 6 12 34 56 78",
"national": "06 12 34 56 78",
"uri": "tel:+33612345678",
"countryCode": "FR",
"country": "France",
"callingCode": "+33",
"type": "mobile",
"nationalNumber": "612345678",
"extension": null,
"problem": null,
"scrapedAt": "2026-11-18T12:00:00.000Z"
}
  • valid is true when the number fits a range its country has assigned. possible only means it has a plausible length.
  • e164, international, national and uri are filled for valid numbers only, so an invalid number is never passed on by mistake.
  • type is mobile, landline, landline or mobile (countries such as the US and Canada do not tell them apart), toll-free, premium rate, shared cost, internet phone (VoIP), personal number, pager, company number or voicemail.
  • problem says why a number is not valid: Too short, Too long, Wrong length for its country, Not a number in use…, Not a phone number, or that no country could be worked out.

A SUMMARY record in the run's key-value store counts the valid and invalid numbers.

Pricing

Pay per result. You are charged once for each number checked, valid or not, at the per-result price shown on this page. The same number listed twice is checked and charged once. The run stops as soon as it reaches the maximum charge you set for it.

Limits

  • "Valid" means the number is in a range the country has issued. It does not prove the number is currently connected or who owns it; no service can know that without calling it.
  • The carrier (network operator) is not given. Numbers move between carriers, and looking that up needs a paid telecom service.
  • A number without a country code needs a default country to be checked.

Is this allowed?

Nothing is fetched and nobody is contacted: each number is compared with public numbering-plan data. Phone numbers are personal data; you are responsible for having a lawful reason to hold the numbers you check and for following the rules on marketing calls and messages where you operate.