Phone Number Extractor
Extract phone numbers from any text
You have a document, email thread, or spreadsheet dump full of phone numbers mixed with other text. Manually scanning through to find and copy each number is tedious and error-prone. This tool extracts every phone number from any text in one step — paste your content, get a clean deduplicated list.
Why This Tool
Phone numbers appear in dozens of formats across countries — with country codes, area codes in parentheses, dashes, dots, or spaces as separators. Writing a regex that catches them all without false positives is harder than it looks. This tool uses a tuned extraction pattern that handles international and domestic formats while filtering out number sequences too short or too long to be real phone numbers. Everything runs in your browser — your text never leaves your device.
How It Works
- Paste any text — emails, documents, web pages, contact lists, CRM exports
- The tool scans for patterns matching phone number formats worldwide
- Duplicates are automatically removed (compared by digits only)
- Results are displayed as a clean list with count
- Copy all numbers or download as a CSV file
Supported Formats
The extractor recognizes phone numbers in these common formats:
| Format | Example |
|---|---|
| International with country code | +1 (555) 123-4567 |
| International without parentheses | +44 20 7946 0958 |
| Domestic with dashes | 555-123-4567 |
| Domestic with dots | 555.123.4567 |
| Domestic with spaces | 555 123 4567 |
| With area code in parentheses | (555) 123-4567 |
| European style | +49 30 12345678 |
| Compact international | +33612345678 |
Numbers must contain between 7 and 15 digits (per the E.164 international standard) to be recognized. Shorter sequences like ZIP codes or years are ignored.
Common Use Cases
- Contact list building: Extract phone numbers from business emails and correspondence
- Data migration: Pull numbers from unstructured text exports or legacy databases
- CRM cleanup: Paste a messy contact dump and get a clean, deduplicated list
- Web scraping results: Extract phone numbers from copied webpage text
- Document processing: Find all phone numbers in contracts, invoices, or reports
How Deduplication Works
Two phone numbers are considered duplicates if they contain the same sequence of digits, regardless of formatting. For example, these are all treated as the same number:
+1 (555) 123-45671-555-123-456715551234567
The first occurrence in the input text is kept.
Phone Number Anatomy
+1 (555) 123-4567
\/ \___/ \______/
| | |
| | Subscriber number
| Area code
Country code
- Country code: 1-3 digits identifying the country (1 = US/Canada, 44 = UK, 49 = Germany)
- Area code: Regional identifier, sometimes in parentheses
- Subscriber number: The local phone number, typically 4-8 digits
Privacy and Security
This tool processes text entirely in your browser using JavaScript. No data is sent to any server, no text is stored, and no cookies are set. This makes it safe to use with confidential contact lists, internal documents, and customer data.
Frequently Asked Questions
Does this tool validate that phone numbers are real? No. The tool extracts strings that match phone number patterns. It does not verify whether the number is in service or can receive calls. For validation, you would need a telephony verification service.
How does it handle numbers with extensions? Extensions like “x123” or “ext. 456” after a phone number are not included in the extracted result. The base phone number is captured.
Can it distinguish phone numbers from other number sequences? The tool filters by digit count (7-15 digits per E.164) and looks for phone-like formatting cues (parentheses, dashes, dots, plus signs). Pure number sequences like credit card numbers or ID numbers with different formatting patterns are generally excluded, though some overlap is possible with very long numbers.
Is there a limit on input text size? There is no hard limit. The tool processes text in your browser, so performance depends on your device. Large texts with millions of characters may take a moment to process.
Why are some numbers not being detected? Numbers with fewer than 7 digits (like short codes) or more than 15 digits are excluded. Numbers written in words (“five five five”) or heavily obfuscated formats are also not matched.