Phone Number Extractor
Phone Number Extractor — find phone numbers in any text
Fast phone number extractor online that finds international and local phone numbers inside plain text, HTML, CSV, JSON or log files. Detects E.164-ish numbers (with or without +), common local formats, and bracketed area codes. Copy/paste your text and run Extract 10 Phone Numbers. This tool works on text only (not PDF/images or live website scraping).
How it works
- Atomic extraction from text: the tool scans input and returns detected phone-like strings (no OCR, no website crawling).
- Supported file/text inputs: TXT, HTML, CSV, TSV, JSON, logs — paste file contents into the editor.
- Separators allowed inside numbers: space and hyphen only. Parentheses (brackets) around area codes are accepted.
Recognized formats
- International / E.164-ish: matches +48123456789 and spaced variants like +48 123 456 789. The leading + is not required.
- Local formats: matches patterns such as 415-555-0198, (415)5550139, 22 123 45 67.
- Brackets: parentheses around area codes are permitted, e.g. (415) 555-0198.
- Separators: only space and hyphen are recognized as separators inside numbers.
How to use
- Copy and paste the text, HTML or CSV content into the editor.
- Choose Extract 10 Phone Numbers.
- Copy results, then chain further cleanup or normalization steps as needed (examples below).
Examples
International (E.164-ish)
Before:
Contact: +48 123 456 789 or +491234567890
Extracted:
+48 123 456 789
+491234567890
Local US formats
Before:
Sales: 415-555-0198, Office: (415)5550139
Extracted:
415-555-0198
(415)5550139
Other local formats
Before:
Local: 22 123 45 67; Alt: 22-123-45-67
Extracted:
22 123 45 67
22-123-45-67
HTML / CSV snippet
Before:
<div>Call us +44 20 7946 0958</div>, "phone","+44 20 7946 0958"
Extracted:
+44 20 7946 0958
+44 20 7946 0958
Chaining & normalization (recommended workflows)
The extractor performs a detection pass only. For deduplication and normalization follow these atomic steps:
- Normalize digits: use Find and Replace to remove spaces and hyphens (replace " " and "-" with nothing) so numbers become digits-only.
- Add/ensure country code: use Add prefix or suffix to prepend a default country code when needed.
- Deduplicate after normalization: run Remove Duplicates on the normalized list to get unique phone numbers.
- Export / convert for workflows: use CSV 10 JSON or JSON 10 CSV to integrate results with other tools.
Tips & edge cases
- PDFs and images: the tool does not run OCR. Copy text from PDFs/images first or use an OCR tool, then paste text into the extractor.
- Website scraping: the tool does not crawl or scrape websites. Copy page text into the editor (or use a separate scraper + paste the result).
- Separators: only space and hyphen are recognized. Numbers containing dots or slashes may not be detected fully.
- False positives: short digit groups (dates, IDs) can sometimes match — review results before using them for marketing or legal purposes.
- Privacy & compliance: ensure you have consent to collect and store phone numbers and comply with local regulations (GDPR, TCPA, etc.).
- Large files: for very large datasets, process in batches or use a script; the browser editor has memory limits.
Related tools
- Find and Replace — remove separators or add country codes.
- Remove Duplicates — deduplicate extracted numbers.
- Add prefix or suffix — prepend country codes.
- CSV 10 JSON and JSON 10 CSV — convert outputs for integrations.
- Pattern Extractor — build custom regex when your phone formats are non-standard.
- Email Extractor and URL Extractor — extract other contact details from the same text.
FAQ
Q: Does the extractor find numbers with +country codes?
A: Yes. It detects E.164-ish numbers such as +48123456789 and spaced variants like +48 123 456 789. The leading + is not required for detection.
Q: Can it extract phone numbers from PDF or images?
A: No. The tool only works on text (TXT, HTML, CSV, TSV, JSON, logs). For PDFs/images, run OCR or copy the text before extracting.
Q: Can the tool scrape phone numbers from websites?
A: No. It does not crawl external sites. Copy page content into the editor to extract numbers from web pages.
Q: Does it normalize numbers or remove duplicates?
A: The extractor returns detected strings. For normalization (remove spaces/hyphens, add country codes) and deduplication chain with Find and Replace, Add prefix and Remove Duplicates.
Q: Are extensions detected (x123 / ext.123)?
A: The tool may detect common extension patterns but results vary depending on formatting. If you need strict parsing, use the Pattern Extractor with a custom regex.
Q: Is this safe for bulk marketing use?
A: Extracting numbers is technicaly possible, but make sure you comply with privacy and telemarketing laws before contacting any numbers.
Closing
Paste text and run Extract 10 Phone Numbers. Chain Find & Replace, Add Prefix and Remove Duplicates for normalization and de-duplication.