Home / How-to guides / Phone Number Validator (bulk, offline)
How to validate and format phone numbers in bulk
Validate and normalise phone numbers in bulk: E.164, country, line type, carrier and time zones, with no external calls.
Updated 2026-11-24
The problem
A CRM export mixes formats: "+34 612 345 678", "(415) 555-2671", numbers with no country code. Dialers and SMS tools want E.164, and duplicates hide behind different spellings of the same number.
Steps
- Open the Actor on Apify. Create a free Apify account if you do not have one. Every account gets free monthly credit, enough to try this on real data. Phone Number Validator (bulk, offline) ↗
- Fill in the input. The input is a small JSON. These are the first fields and example values:
{
"numbers": [
"+34 612 345 678",
"(415) 555-2671"
],
"csvUrl": "https://example.com/leads.csv",
"defaultCountry": "ES"
}- Run it. Press Start in the console, or call it from the API, a schedule, n8n, Make or Zapier. See the run guide for code you can copy. Run guide (API, n8n, Make, MCP)
- Take the results. Open the Output tab to preview the dataset and download it as JSON, CSV or Excel. Through the API you read the same dataset items.
A tip for this Actor
Set defaultCountry to the country most of your numbers come from, so numbers written without + are read correctly. Valid means a correct length and an existing numbering range, not that the line is active.
Input fields
| Field | Type | Description |
|---|---|---|
numbers | array | Phone numbers in any format. |
csvUrl | string | Optional URL of a CSV or text file with numbers. |
defaultCountry | string | ISO country for numbers written without +. |
onlyValid | boolean | Return only valid numbers. |
Real output sample
First item of 5 from a real run, shortened for display. The full sample is a download on the Actor page.
{
"input": "+34 612 345 678",
"valid": true,
"reason": null,
"e164": "+34612345678",
"type": "MOBILE",
"country": "ES",
"countryCallingCode": "34",
"nationalFormat": "612 34 56 78",
"internationalFormat": "+34 612 34 56 78",
"location": null,
"carrier": "Syma",
"timezones": [
"Europe/Madrid"
],
"checkedAt": "2026-11-26T05:14:55.737Z"
}What it costs
Pay per event: number is charged $0.00 each. Apify platform usage is billed separately and is usually a few cents per run.
| Results | Result events |
|---|---|
| 100 | $0.07 |
| 1,000 | $0.70 |
| 10,000 | $7 |
| 100,000 | $70 |
Limits you should know
- It does not tell whether a number is active: valid means a correct length and an existing numbering range, not that the line is connected.
- The carrier is the original allocation: number portability is not taken into account.
- It does not check WhatsApp or Telegram and makes no calls to third parties.
- Phone numbers can be personal data: you need a lawful basis (GDPR, CCPA, TCPA) for the lists you process.
Questions
Does it tell me if a number is active?
No. Valid means a correct length and an existing numbering range, not that the line is connected.
Does it check WhatsApp?
No, that would break the messaging app's terms.
Where does the data come from?
Google libphonenumber metadata bundled in the Actor; no external calls.
Rate it on Apify
Used it? A rating or review on Apify helps other people judge it, and tells us what to fix.