1. Home
  2. Clean
  3. Extract Phone Numbers

Extract Phone Numbers

Numbers written with spaces, dashes, brackets or a country code are recognised inside any text. The result is a list with counts or an extra column.

01How to use it

  1. Drop your file.
  2. Select the columns to search.
  3. Choose list or column output, and “Digits only” if you want punctuation stripped.
  4. Press Run and download.

02What it is used for

  • Collecting callback numbers from notes or messages.
  • Preparing a number list for an SMS tool.
  • Checking which records contain a phone number at all.

03Example

Before — inbox-export.csv
FromMessage
LenaPlease send the invoice to [email protected] or call +44 20 7946 0958.
SupportCustomer [email protected] asked for a call back on (212) 555-0147
Lena[email protected] confirmed. Second contact: [email protected], tel 030 1234567
After — inbox
PhoneCountFirst columnFirst row
+44 20 7946 09581Message2
(212) 555-01471Message3
030 12345671Message4

Produced by this tool from the sample data.

04Supported formats

Input

  • XLSX
  • XLSM
  • XLSB
  • XLS
  • ODS
  • CSV
  • TSV
  • TXT

Output

  • XLSX
  • CSV

05How the data is processed

The file is opened by a background worker in your browser, so the page stays responsive and a long job can be cancelled. Each cell is kept with its type: text stays text, numbers stay numbers and dates stay dates. The original file is only read, never modified — the result is always a new download.

Excel workbooks are read with the open-source SheetJS library. For formula cells the tool uses the result that Excel stored in the file; formulas are not recalculated. Both the 1900 and the 1904 date systems are handled. Merged cells keep their value in the top-left cell, and hidden sheets are listed but not selected by default.

For CSV and text files the character encoding (UTF-8, UTF-16, Korean CP949, Japanese Shift_JIS, Chinese GB18030 and Big5, Western European and more) and the delimiter are detected automatically and can be changed by hand. Quoted fields with commas, quotes and line breaks are parsed according to the CSV standard. A value is turned into a number only when that loses nothing, so 00123 and long ID numbers stay text. A decimal read as a number does not keep zeros at its end (1.50 becomes 1.5); number detection can be switched off for each file.

06Privacy

The tool above runs entirely in your browser. Your file is read from your disk by JavaScript on this device; it is not uploaded, and neither its contents nor its name are sent to us or to anyone else. There is no account and no server-side processing.

For that reason the tool is loaded in a separate frame from a different web address than this article. Advertising and other scripts on the page cannot look into that frame, and the frame itself is served with a security policy that blocks all outgoing connections. When you close or reload the tab, the data is gone from memory. Only workflows you choose to save are kept, in your browser’s own storage, and you can delete them at any time.

07File size and limits

  • There is no fixed upload limit because nothing is uploaded; the limit is the memory of your device. Measured on a desktop PC (Intel Core i5-14600KF, Windows 10, Microsoft Edge 158): a 100,000-row, 10-column CSV of 9 MB was read in about 1.1 seconds and written as a 14 MB XLSX in about 1.2 seconds. Laptops and phones are slower, often several times.
  • Excel workbooks up to about 50 MB and CSV files of a few hundred megabytes are practical. Workbooks larger than 150 MB and text files larger than 1 GB are refused so the tab does not crash.
  • An XLSX sheet can hold 1,048,576 rows and 16,384 columns. If a result is larger, download it as CSV or split it.
  • Password-protected workbooks cannot be opened. Macros are never run. Charts, images, pivot tables and cell styling are not carried into the output unless a tool says otherwise.
  • A CSV file holds plain text. When Microsoft Excel opens one it applies its own conversions: leading zeros disappear, long numbers turn into 1.23E+15 and some values become dates. That happens in Excel, not in the file — check the CSV in a text editor or in the CSV Viewer, and in Excel use Data → From Text/CSV and set such columns to Text.

08Questions and answers

How does it decide what is a phone number?

A sequence of 7 to 15 digits, optionally starting with + or 00 and separated by spaces, dots, dashes or brackets. Dates such as 2025-01-31 and decimal numbers are ignored.

Can it be wrong?

Yes. Recognition is based on patterns, so long order numbers written with dashes may be picked up. Check the list before using it.

Does it reformat numbers to an international format?

No. It can strip punctuation, but it does not guess country codes.

Is it safe to use with confidential files?

The file is processed on your own device and is never uploaded. The tool runs in an isolated frame that is technically prevented from making network connections, so its contents cannot be sent anywhere — not to us and not to advertisers.

Related tools