Skip to content
DoItJag

Phone Number Extractor

Pull phone numbers out of chats, emails, spreadsheets or web pages. Each number is checked against the official numbering plan of its country, then listed in the format you choose, with duplicates removed.

Loading phone number rules…

About Phone Number Extractor

Phone Number Extractor reads any block of text and picks out the telephone numbers in it, however they were typed: with spaces, hyphens, brackets, a leading zero or a plus sign. Each candidate is checked against Google’s libphonenumber data, the numbering plans that Android phones rely on, so order numbers, dates, PIN codes and invoice totals are not mistaken for phone numbers.

Every number found is shown in one consistent style. International format suits most lists, E.164 (a plus sign followed only by digits) is what CRMs, WhatsApp links and SMS services usually ask for, and national format is how people dial within their own country. A table gives the country and the kind of line, such as mobile, landline or toll-free, and the CSV download keeps all of these columns.

When to use it

  • You exported a WhatsApp group or email thread and need the contact numbers.
  • A spreadsheet has numbers typed in five different ways and must be imported into a CRM.

Worked example

With the country set to India, paste:

Call Priya on 98765 43210 or +91-98765-43210. Office: 080 2222 3333. London desk +44 20 7946 0958. Order 123456, PIN 560001.

The tool reports 3 phone numbers with 1 duplicate removed, because the first two are the same mobile number written differently. In international format the list reads +91 98765 43210, +91 80 2222 3333 and +44 20 7946 0958, marked as an Indian mobile, an Indian landline and a United Kingdom landline. The order number and the PIN code are ignored.

Good to know

  • Numbers without a plus sign are read as belonging to the country you pick, which is guessed from your browser language at first.
  • “Valid” means the number fits the national plan. The tool cannot tell whether it is connected or who owns it.
  • Where mobile and landline ranges overlap, as in the United States, the type shows as “Landline or mobile”.
  • Extensions written as “ext. 45” are kept.
  • Nothing you paste leaves your device.

How to use Phone Number Extractor

  1. Paste the text that contains the numbers.
  2. Choose the country for numbers written without a + code, and the format you want.
  3. Select Extract phone numbers, then copy the list or download it as .txt or .csv.

Privacy: how it works

Everything happens in your browser. The phone numbering rules (about 60 KB compressed) download from this site when the page opens; your text is never sent anywhere.

Frequently asked questions

How does it know a number is real?

It checks each number against the numbering plans in Google’s libphonenumber data, the same rules Android uses: correct length and a prefix that is in use. That shows a number is valid, not that it is switched on or belongs to anyone in particular.

Why does the country setting matter?

A number like 080 2222 3333 has no country code, so the tool reads it as a number from the country you choose. Numbers written with + and a code, such as +44 20 7946 0958, are recognised whatever the setting.

Is the mobile or landline label always right?

It is based on the number range. In countries where numbers can be moved between networks, or where mobile and landline ranges overlap (such as the US), the label can be “Landline or mobile” or occasionally out of date.