Phone Number Validator & Formatter (Bulk, 240+ Countries) avatar

Phone Number Validator & Formatter (Bulk, 240+ Countries)

Pricing

$0.50 / 1,000 number checkeds

Go to Apify Store
Phone Number Validator & Formatter (Bulk, 240+ Countries)

Phone Number Validator & Formatter (Bulk, 240+ Countries)

Validate and format phone numbers in bulk: valid or not, country, line type (mobile, landline, VoIP, toll-free), E.164 and local formats, original carrier, area and time zones. Works offline on Google's libphonenumber data: no lookups of who owns a number.

Pricing

$0.50 / 1,000 number checkeds

Rating

0.0

(0)

Developer

John Joseph Wheatley

John Joseph Wheatley

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

At a glance: check and clean phone numbers offline. You get validity, country, line type and standard formats. Cost: 1,000 numbers are $0.50, and duplicates are free.

Check and clean phone numbers in bulk. For every number you get valid or not, the country, the line type (mobile, landline, VoIP, toll-free and more), the number in standard formats, plus the original carrier, area and time zones where known.

It works offline on Google's open libphonenumber data, the same rules Android uses. It does not call anyone, send messages, or look up who owns a number.

What you get for each number

  • Valid / possible: whether the number is in a range assigned in its country, and if not, why (too short, too long, unknown range).
  • Formats: E.164 (+31612345678), international (+31 6 12345678), national (06 12345678) and a tel: link.
  • Country and calling code.
  • Line type: mobile, landline, landline or mobile, VoIP, toll-free, premium rate, shared cost, pager, voicemail.
  • Original carrier: the operator the number range was first issued to. Numbers can be moved to another operator, so treat this as a hint.
  • Area: the city or region for geographic numbers.
  • Time zones the number can belong to.

Input

Paste numbers one per line, in any common notation:

{
"numbers": ["+31 20 624 1111", "0031612345678", "(415) 555-2671", "tel:+442079460958"],
"defaultCountry": "US"
}
  • Default country is only needed for numbers written without an international prefix, like (415) 555-2671.
  • Return valid numbers only drops invalid and unreadable entries.
  • Remove duplicates returns each number once, even when it appears in different notations.

Output

{
"input": "+31 20 624 1111",
"valid": true,
"possible": true,
"reason": null,
"e164": "+31206241111",
"international": "+31 20 624 1111",
"national": "020 624 1111",
"rfc3966": "tel:+31206241111",
"countryCode": "NL",
"country": "Netherlands",
"callingCode": "+31",
"nationalNumber": "206241111",
"extension": null,
"type": "landline",
"isMobile": false,
"originalCarrier": null,
"location": "Amsterdam",
"timezones": ["Europe/Amsterdam"],
"checkedAt": "2026-11-14T12:00:00.000Z"
}

A run summary with totals (valid, invalid, unreadable, duplicates) is saved as OUTPUT in the key-value store.

Pricing

  • $0.0005 per number checked ($0.50 per 1,000).
  • Entries that can't be read as a phone number at all are free, and so are duplicates.

Use cases

  • Clean a CRM or sign-up list: normalise every number to E.164 and flag the invalid ones.
  • Before an SMS or call campaign to your own customers: keep mobiles, drop landlines, and group by time zone.
  • Form and import checks: validate numbers from a spreadsheet before loading them into another system.
  • Data pipelines: deduplicate contacts that differ only in how the number was typed.

Use with AI agents (MCP)

This Actor works as a tool for AI assistants such as Claude, ChatGPT and Cursor, through Apify's MCP server.

  1. Add the server to your MCP client, with this Actor selected:
{
"mcpServers": {
"apify": { "url": "https://mcp.apify.com?tools=squarish_altruism/phone-validator" }
}
}

In Claude Code: claude mcp add apify "https://mcp.apify.com?tools=squarish_altruism/phone-validator" -t http

  1. Sign in with your Apify account when your client asks. If it can't use OAuth, send your Apify API token in an Authorization: Bearer header.
  2. Ask in plain language, for example: "Validate these numbers, convert them to E.164 and tell me which are mobiles: +31 6 12345678, (415) 555-2671 (US)."

Runs started by an agent are billed to your Apify account at the same prices as above.

Limitations

  • It checks the numbering plan, not the network. A valid number may still be switched off or unassigned to a subscriber. Checking that needs a paid network lookup, which this Actor does not do.
  • Carrier is the original one. Number portability means the current operator can differ.
  • Area and carrier are missing for some ranges, especially mobiles (no area) and landlines (no carrier).

Feedback

Found a number that is classified wrongly? Open an issue on the Issues tab with the number's country and type.