Phone Number Validator - Bulk Format, Type & Country Check avatar

Phone Number Validator - Bulk Format, Type & Country Check

Pricing

Pay per event

Go to Apify Store
Phone Number Validator - Bulk Format, Type & Country Check

Phone Number Validator - Bulk Format, Type & Country Check

Validate phone numbers in bulk: valid or not, E.164, national and international format, mobile / landline / VoIP / toll-free type and country for 245 regions. Offline, fast, no API key.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Josh Zoerner

Josh Zoerner

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Paste a list of phone numbers and get back, for each one: valid or not, the clean E.164 format, national and international formats, the line type (mobile, landline, VoIP, toll-free) and the country. Up to 100,000 numbers per run.

  • Proof: the sample table below comes from a real run on 15 Nov 2026. Checking 9 numbers took 2 seconds of run time on Apify; a 100,000-number list took about 2 minutes at the default 256 MB.
  • You pay only for rows you get. Skipped repeats of a valid number and numbers past your cost limit are never charged. Set a maximum cost per run and the Actor stops cleanly when it is reached.
  • Honest scope: this is a numbering-plan check, not a live network lookup. "Valid" means the number can exist and tells you what kind it is. It does not mean the line is in service, and it does not give the carrier (see Limitations).
  • Next step: click Try for free. The example input checks 9 numbers from 5 countries.

Who it's for

  • Sales and marketing teams cleaning a CRM or lead list before a call or SMS campaign: drop bad numbers, fix formats, split mobile from landline.
  • Developers and no-code builders who need every number in E.164 (+14155552671) before sending it to Twilio, a dialer, WhatsApp or a database.
  • Data and ops teams merging contact lists from many countries and spotting the same number written in different ways.
  • Apps and agents that need a fast, cheap yes/no and a clean format for one number or a thousand, in one call.

What you get

One row per number, in the order you sent them:

InputValidE.164TypeCountry
(212) 736-3100yes+12127363100fixed_line_or_mobileUnited States
+44 20 7946 0958yes+442079460958fixed_lineUnited Kingdom
+61 491 570 156yes+61491570156mobileAustralia
1-800-275-2273yes+18002752273toll_freeUnited States
+1 415 555no (TOO_SHORT)---

The UK and Australian sample numbers are in ranges kept for TV and films. They show as valid because those ranges look like normal numbers in the numbering plan (see Limitations).

Every row also has the international format (+44 20 7946 0958), the national format (020 7946 0958), a tel: link, the extension if there was one, the two-letter region code, the calling code, whether the number already appeared earlier in your list, and for invalid numbers a reason code plus a plain-English note on what to fix.

Full example item:

{
"position": 3,
"input": "+44 20 7946 0958",
"isValid": true,
"isPossible": true,
"numberType": "fixed_line",
"e164": "+442079460958",
"internationalFormat": "+44 20 7946 0958",
"nationalFormat": "020 7946 0958",
"rfc3966": "tel:+442079460958",
"nationalNumber": "2079460958",
"extension": null,
"regionCode": "GB",
"countryName": "United Kingdom",
"callingCode": "+44",
"isDuplicate": false,
"reason": null,
"reasonMessage": null,
"checkedAt": "2026-11-15T23:02:11.120Z"
}

A summary of the whole run (valid / invalid counts, counts by type, country and problem) is saved as the OUTPUT record, together with all rows when there are 1,000 or fewer. 1,000 rows are about 450 KB, so an agent that reads the record should send small lists (or read only summary).

How to use it

  1. Paste your numbers, one per line, in any common format: +1 415-555-2671, (415) 555-2671, 020 7946 0958, +44 20 7946 0958 ext. 12, tel:+14155552671.
  2. Set the default country (for example US or GB) for numbers written without the + country code. Leave it empty if every number starts with +.
  3. Run it and download the results as Excel, JSON or CSV. Turn on Skip duplicate numbers to get each number only once.

Opening results in Excel? Download the Excel file, not the CSV. Excel reads +14155552671 in a CSV as a number and drops the +. Any entry a spreadsheet would run as a formula (it starts with = or @, or with + or - and contains a function call) comes back in the input column with a leading ', so it shows as text.

Nothing to sign up for beyond your Apify account: no API key and no phone-network login.

Pricing

Pay per result: one result per number checked.

  • 1,000 numbers = $1.25 ($1.25 per 1,000 results), plus Apify's small standard charge for starting a run.
  • Invalid numbers are results too (you get the reason and what to fix). Skipped duplicates and empty lines are free.
  • Resurrecting a finished run does not charge again. A run stopped by your cost limit, resurrected with a higher limit, continues where it stopped.
  • Set a maximum cost per run in Apify and the Actor stops cleanly when it is reached; it never stores a row it cannot charge for.

Scheduling & integrations

  • API: start a run and read results with the Apify API or the JavaScript / Python clients. For small lists, the run-sync endpoint returns the OUTPUT record (summary plus every row) in a single call.
  • Make, Zapier, n8n: validate each new lead's number before it reaches your CRM or dialer.
  • Google Sheets: export each run straight to a sheet.
  • MCP: any tool that connects to Apify's MCP server can call this Actor with {"phoneNumbers": ["+1 415 555 2671"]} and read the answer from one run. The phoneNumber text field also takes one number, or several separated by commas, semicolons or new lines.
  • Schedules: re-check a list weekly if numbering plans in your markets change.

Tested to the Gold Standard

Gold Standard Web built this Actor and tests it with Gold Standard QA, our three-layer quality process.

  • Every change must pass the full test suite before it is saved.
  • We plant bugs in the code on purpose, and the tests must catch at least 90% of them.
  • A reviewer who did not write the code tries to break it before each release.

See every check we run.

FAQ

Is this legal to use? Here is how it works: The Actor does not scrape any website or contact any phone network. It checks each number against public numbering-plan data (the open-source libphonenumber metadata, which follows each country's official numbering plan). Your list is processed inside your own Apify run and is not sent anywhere else. You remain responsible for how you contact people (for example TCPA, GDPR and do-not-call rules). This is general information, not legal advice; you are responsible for how you use the data.

What does "valid" mean? The number has the right length and starts with a prefix that the country has assigned (for example a real area code). It does not mean the number is in service: a valid number can be disconnected, never issued, or fictional (see Limitations). Only a live network lookup can tell that. isPossible is looser: the length fits, but the range may not be assigned (reason NOT_VALID).

Why is the type fixed_line_or_mobile for US and Canadian numbers? In the US and Canada, mobile and landline numbers share the same area codes, so the numbering plan cannot tell them apart. Most other countries use separate prefixes, so you get mobile or fixed_line there.

Do you return the carrier? No. Carrier data is not available offline in a reliable way: numbers move between carriers (porting), so any offline carrier name is often wrong. If you need the current carrier or whether a line is active, you need a paid live lookup (HLR / LRN), which this Actor does not do.

How do I check numbers from several countries in one run? Write them with the + country code (+44 ..., +49 ...). Numbers without it are read with the default country.

What happens to duplicates? Two entries are duplicates when they are the same valid number after formatting, for example +1 212 736 3100 and (212) 736-3100. The same number with a different extension (ext. 1, ext. 2) is not a duplicate. Invalid entries are never matched, so each one is returned (and charged). By default every row is returned and repeats are marked isDuplicate: true. With Skip duplicate numbers on, repeats are left out and not charged.

Limitations

  • No carrier, no live status, no owner name. This is not an HLR or reverse lookup.
  • Type comes from the numbering plan. Where a country does not separate mobile and landline ranges, you get fixed_line_or_mobile. Ported numbers keep the type of their original range.
  • Valid is not the same as in use. Ranges kept for TV and films look like normal numbers and show as valid: for example US 555-0100 to 555-0199, UK 020 7946 0000 to 0999, Australia 0491 570 xxx and (02) 5550 xxxx. Filter these out yourself if they matter to you.
  • Numbering plans change. The Actor uses the numbering-plan data in its current build (libphonenumber-js 1.13.15, October 2026). A brand-new range may show as NOT_VALID until the data is updated.
  • International dialing prefixes are read the way the default country dials abroad: 0044 20 ... works with GB or DE, 011 44 20 ... works with US. Writing +44 always works.
  • Up to 100,000 numbers per run. Larger lists: split them over several runs. Entries longer than 250 characters are not checked.
  • Spreadsheet safety: an input value that a spreadsheet would run as a formula gets a leading ' (see How to use it). Every other column holds only checked phone data.
  • One number per entry; text around the number (like "Call me at") is not removed, so clean those cells first.

Input reference

FieldTypeDefaultDescription
phoneNumbersarray of strings-One phone number per entry, any common format. Up to 100,000.
phoneNumberstring-One number, or several separated by commas, semicolons or new lines (handy for agents and pasted text); added to phoneNumbers. Use either field or both (at least one number in total).
defaultCountrystringUSTwo-letter country code used for numbers without +. Empty = numbers must start with +.
skipDuplicatesbooleanfalseReturn each valid number only once (repeats are not charged). Invalid entries are always returned.
maxResultsintegerallStop after this many results.

Output fields

position, input, isValid, isPossible, numberType (mobile, fixed_line, fixed_line_or_mobile, toll_free, premium_rate, shared_cost, voip, personal_number, pager, uan, voicemail), e164, internationalFormat, nationalFormat, rfc3966, nationalNumber, extension, regionCode, countryName, callingCode, isDuplicate, reason (EMPTY, NOT_TEXT, INPUT_TOO_LONG, NOT_A_NUMBER, INVALID_COUNTRY, TOO_SHORT, TOO_LONG, INVALID_LENGTH, NOT_VALID), reasonMessage, checkedAt.

Formats and type are filled only for valid numbers.

Data source

Numbering-plan metadata from libphonenumber-js (MIT license), a JavaScript port of Google's libphonenumber metadata, covering about 245 countries and regions. Everything runs inside the Actor; no external service is called.