Extract Phone Numbers

Extract phone numbers from any text.

Text Tools

How to Use Extract Phone Numbers

  1. 1Paste your text containing phone numbers
  2. 2Click Extract Phone Numbers
  3. 3Copy or download the extracted numbers

About Extract Phone Numbers

Extract Phone Numbers scans any block of text and identifies phone numbers written in various formats including international (+1 555 123 4567), US-style dashed (555-123-4567), dotted (555.123.4567), and parenthetical ((555) 123-4567). Duplicates are removed and results are presented as a clean, one-per-line list.

The extractor works on any text source including plain text documents, email exports, contact forms, web page content, and CSV data. It handles the most common North American and international phone number formats, making it suitable for extracting contact information from large volumes of text.

All extraction runs locally in your browser with no data sent to any server. This tool is ideal for building contact lists from text files, harvesting phone numbers from CRM data exports, and finding contact information in scanned document text.

Key Features of Extract Phone Numbers

  • Extracts phone numbers in international, dashed, dotted, and parenthetical formats
  • Automatically deduplicates the extracted phone number list
  • Outputs one number per line for easy copying or importing
  • Recognizes +1 country code, (555) area code, and dashed/dotted formats
  • Works on plain text, email exports, and CSV data
  • Shows a count of unique phone numbers found
  • One-click copy button for the full extracted list
  • Runs entirely in-browser with no data transmission

Supported Formats

Input Formats

Plain text with phone numbers in various formats

Output Formats

Extracted phone numbers list (one per line)

Detects international (+1 555 123 4567), US dashed (555-123-4567), dotted (555.123.4567), and parenthetical ((555) 123-4567) formats. Some non-standard or highly abbreviated formats may not be detected.

Examples

Extract contact numbers from a text directory

Pull out all phone numbers from a plain-text business directory.

Input

Sales: +1 555 123 4567
Support: (555) 987-6543
Fax: 555.111.2222

Output

+1 555 123 4567
(555) 987-6543
555.111.2222

Find phone numbers in a pasted email thread

Extract contact phone numbers from a long email conversation that contains scattered contact details.

Input

Please call me at 555-867-5309 or reach our office at (800) 555-0100 ext. 42.

Output

555-867-5309
(800) 555-0100

Common Use Cases

  • Extracting customer phone numbers from CRM data exports
  • Collecting contact numbers from plain-text email threads
  • Finding phone numbers in scanned document text (OCR output)
  • Building contact import files from free-form text documents
  • Harvesting phone numbers from business directories or web scrapes
  • Deduplicating phone numbers from multiple merged contact sources

Troubleshooting

Non-standard formats like "ext. 42" or "x42" not being extracted

Solution

Phone extensions and abbreviated formats are not reliably detected by the standard regex. Extract the main numbers and add extensions manually after reviewing the output.

Numbers that look like phone numbers but are IDs or order numbers being extracted

Solution

The regex cannot distinguish between phone numbers and other numeric patterns. Review the output for false positives such as order numbers or ZIP codes that match the phone number format.

International numbers from non-North American countries not being detected

Solution

The extractor is optimized for North American phone number formats. International numbers from countries with different digit lengths or formats (e.g., UK +44 20 7946 0000) may not be fully detected. For global extraction, a more specialized tool is needed.

Frequently Asked Questions

Which phone number formats are recognized?

The tool recognizes international format (+1 555 123 4567), US dashed format (555-123-4567), dotted format (555.123.4567), and parenthetical area code format ((555) 123-4567). These cover the most common North American phone number notations.

Are duplicate phone numbers removed?

Yes. The tool automatically deduplicates the extracted list. Note that two representations of the same number in different formats (e.g., 555-123-4567 and 555.123.4567) are treated as different strings and both will appear in the output.

Does it detect international numbers from outside North America?

The extractor is primarily designed for North American formats. International numbers from other countries with different digit lengths or formatting conventions (UK, Australian, European) may not be reliably detected.

Will it extract phone extensions?

Extensions (e.g., "ext. 42" or "x42") are generally not included in the extracted number. The regex captures the main number digits and common separators but stops before extension designators.

Can false positives (non-phone numbers) appear in the output?

Yes. Any sequence of digits matching a phone number pattern — such as order numbers, zip codes, or account numbers — may be extracted. Review the output to remove false positives.

Is there a text length limit?

No. The tool processes text of any length locally in your browser. Large documents with many phone numbers are scanned instantly.

Is my text stored or sent to a server?

No. All extraction runs in client-side JavaScript. Your text is never uploaded, stored, or transmitted anywhere.

Does it work on HTML source containing phone links?

Yes. Phone number patterns are extracted from the full text content regardless of whether they appear in plain text, HTML attributes (tel: links), or inline text. The regex scans the entire input string.