Phone Number Extractor
TX-51Paste text and pull out everything that looks like a phone number, one per line, as written or as digits only. Duplicates can be removed and the list sorted.
Runs in your browser. Nothing is uploaded.
Text that contains phone numbers
Phone numbers
How to use it
- Paste the text that contains phone numbers, such as an email thread, a web page copy or a log.
- Choose the output: as written, or digits only with a leading plus kept.
- Pick the minimum number of digits. 7 finds short local numbers; 10 skips them.
- Press Extract phone numbers, then copy the list or download it.
What counts as a phone number
The tool looks for a run of 7 to 15 digits that may start with a plus and may have single spaces, dots, hyphens or brackets between groups of digits. Fifteen is the longest an international number can be. It is a pattern match and does not check a numbering plan, so it does not know which country a number belongs to or whether it exists. A plain 8-digit order number or an ID that is formatted like a phone number will be picked up, and a real number typed with two spaces in a row will be split.
What it skips
Dates such as 2026-11-21, IP addresses such as 192.168.1.10 and plain decimals such as 3.14159265 are skipped even when they have enough digits. A number glued to letters, such as an order code, is ignored, and extensions such as ext. 12 are not included. Raise the minimum digits to 10 to cut down on short numbers that are not phones. Sample numbers on this page are fictional.
Duplicates and output
With Remove duplicates on, two numbers count as the same when their digits match, so (555) 010-4477 and 555.010.9921 are different but 555-010-4477 and 555 010 4477 are one, and the first one found is kept. Digits only strips the spaces, dots, hyphens and brackets and keeps a leading plus, which is handy before you import numbers somewhere. Sorting is numeric-aware, not by country.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
No phone numbers found in the text. | Nothing in the text looks like a phone number of at least the minimum number of digits. | Check that the numbers have at least 7 digits, or lower Minimum digits to 7. |
Questions people ask
How do I extract phone numbers from text?
Paste the text, choose how you want the output and press Extract phone numbers. Every run of 7 to 15 digits that looks like a phone number is listed on its own line.
Does it work for international numbers?
It finds numbers written with a leading plus and several digit groups, such as +44 20 7946 0958. It does not validate them against any country's numbering plan, so it can include numbers that do not exist.
Why did it pick up an order number?
Any 7 to 15 digit run formatted like a phone number matches, because the tool has no way to tell a phone number from an ID. Raise Minimum digits or remove such lines from your text first.
Can I get the numbers without spaces and dashes?
Yes. Choose Digits only as the output style. Spaces, dots, hyphens and brackets are removed, and a leading plus is kept, so +1 (555) 010-4477 becomes +15550104477, which suits importing numbers into other tools.
Are dates and IP addresses picked up?
No. Dates written like 2026-11-21 or 21/11/2026, IP addresses and plain decimals are skipped, even though they contain enough digits to look like a phone number.
About this tool
A phone number here is a run of 7 to 15 digits (15 is the longest international number) that may start with +, and may have single spaces, dots, hyphens or brackets between digit groups. It is a pattern match, not a check against a numbering plan: no country rules are applied, a plain 8-digit order number is picked up, and a real number written with two spaces in a row is split. Dates such as 2026-11-21, IP addresses such as 192.168.1.10 and plain decimals are skipped, and numbers glued to letters are ignored. Extensions such as ext. 12 are not included. The numbers in the sample are fictional. Nothing is uploaded or stored.