Extract Phone Numbers From Text
Paste a block of text, an email thread or a scraped page and the extractor lists every phone number it contains, one per line. It recognises common US and international shapes and only keeps candidates that hold between 7 and 15 digits, so years and long ID codes are ignored. Duplicates are collapsed by their digits by default, and you can sort the list before copying.
How to extract phone numbers
- Paste text, a contact list, an email or a web page into the Your text box.
- Leave Remove duplicates ticked to keep only one copy of each number.
- Tick Sort by digits if you want the results ordered rather than left in reading order.
- Read the running found count shown above the results box.
- Click Copy to grab the clean list, one number per line.
Examples
Pull a US and an international number from a note
Call (212) 555-0143 or +44 20 7946 0958 today.
(212) 555-0143 +44 20 7946 0958
Collapse the same number written two ways
Reception 555-123-4567, direct 555.123.4567.
555-123-4567
Skip a year and a long ID code
Founded 1998, hotline 800-555-0199, ref 123456789012345678.
800-555-0199
Frequently asked questions
Which phone formats are detected?
Common shapes such as a leading + country code, (123) 456-7890, 123-456-7890, 123.456.7890, a plain 10-digit run and international numbers written with spaces. Digits may be separated by spaces, dots, hyphens or parentheses.
How does it avoid matching years or ID numbers?
After finding a candidate the extractor counts its digits and only keeps runs of 7 to 15 digits. A four-digit year like 1998 is too short and an 18-digit reference code is too long, so both are dropped.
Can it remove duplicate numbers?
Yes, and Remove duplicates is on by default. Two numbers are treated as the same when their digits match, so 555-123-4567 and 555.123.4567 count once. The first spelling you pasted is the one that is kept.
Does it change how a number is written?
No. Whatever formatting you pasted, including brackets, dots, spaces and the plus sign, is preserved in the output. The digit-only form is used internally only for de-duplicating and sorting.
What does sorting by digits do?
It reorders the list by comparing the stripped digit strings, so numbers starting with a lower digit come first. With sorting off, numbers appear in the order they were found in your text.
Will it validate that a number is real or dialable?
No. This is a pattern extractor, not a validator. It has no idea whether an area code exists or a line is in service, so treat the results as candidates to review rather than verified contacts.
Can it pull extensions or numbers split across lines?
An extension written after separators can be joined into the match when it sits inside the same run of digits and separators. A number broken across two lines by a hard line break is treated as two fragments, so rejoin the text first if that happens.
Is there a limit on how much text I can paste?
There is no fixed cap. The scan runs in your browser, so the practical ceiling is your device memory, and even long pages are processed almost instantly.
Is my text private?
Yes. Everything runs locally in your browser and nothing is uploaded to a server, so contact lists and message logs never leave your device.
Learn more
- Phone number formats and why extraction is tricky
How US, E.164 and international phone formats differ, why a 7 to 15 digit rule catches most of them, and how to clean extracted numbers.
Related tools
Extract Emails
Pull every email address out of pasted text online. Find, de-duplicate and sort emails from lists, logs or pages, then copy. Free and private.
Extract URLs
Pull every URL and link out of pasted text online. Find http and https links plus bare www domains, de-duplicate, sort and copy. Free and private.
Text Statistics
Detailed text statistics: characters, words, sentences, paragraphs, unique words, average word length, longest word and reading time. Free and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.