Phone Number Validator — Bulk Format, Country & Line Type
Validate and format thousands of phone numbers: valid or not and why, E.164, international and national formats, country, mobile vs landline vs VoIP vs toll-free. 240+ countries, Google libphonenumber metadata, works offline — no number is sent anywhere. Pay per number.
Run it on Apify →Clean a list of phone numbers in seconds. For every number you get: valid or not, and why, the E.164 format (+33612345678) your CRM, SMS or dialer tools expect, international and national display formats, the country, and the line type: mobile, landline, VoIP, toll-free, premium rate, shared cost…
$0.50 per 1,000 numbers. Fast (tens of thousands per minute), offline, nothing to configure.
Why use it
- Before an SMS or WhatsApp campaign: keep mobile numbers only, drop the invalid ones.
- CRM and spreadsheet clean-up: one consistent E.164 format instead of
06 12…,(202) 555…,0044 20…. - Lead forms: catch fake or mistyped numbers.
- Country routing: know which country each number belongs to.
Private and offline
Validation uses Google's libphonenumber metadata (via libphonenumber-js, full "max" metadata, 240+ countries and territories) inside the Actor. Numbers are not sent to any third-party API and nothing is called on the phone network.
What it does not do: tell you whether a number is currently connected or who owns it (that needs a paid carrier lookup). "Valid" means the number exists in the country's official numbering plan.
Input
| Field | What it does |
|---|---|
phoneNumbers / phonesText | Numbers in any format; 00 prefixes are understood |
defaultCountry | ISO code for numbers without +code (e.g. US, GB, FR) |
validOnly, mobileOnly | Filters (filtered-out numbers are not charged) |
maxResults | Stops the run, so you control the cost |
{ "phoneNumbers": ["06 12 34 56 78", "+1 (202) 555-0143"], "defaultCountry": "FR" }
Output
| Field | Example |
|---|---|
input | 06 12 34 56 78 |
valid, possible, reason | true, true, null — or false, "invalid length for this country" |
e164, international, national, uri | +33612345678, +33 6 12 34 56 78, 06 12 34 56 78, tel:+33612345678 |
country, countryCallingCode, nationalNumber | FR, +33, 612345678 |
type | mobile, fixed_line, fixed_line_or_mobile, voip, toll_free, premium_rate, shared_cost… |
extension | when the number has one |
Pricing
Pay per event: $0.0005 per number returned. Numbers removed by validOnly or mobileOnly are not charged.