Free online text tool

Extract Phone Numbers

Extract Phone Numbers finds every phone number in your text and lists each one on its own line. Paste your text, click the button and copy the result. It is free and runs in your browser.

Extract Phone Numbers Tool

0Character Count
0Character Count (without spaces)
0Word Count
0Sentence Count
0Paragraph Count
0Line Count

Phone Number Extract Example

Before
She said that you can call her at 555-555-5555 or (555)555-5556
After
555-555-5555
(555)555-5556

Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.

Suggest a New ToolProvide Feedback on This Tool

What does Extract Phone Numbers do?

This tool finds the phone numbers in your text and puts each one on its own line. Everything else is removed from the result, and every number keeps the format you wrote it in.

It looks for numbers with 7 to 15 digits, with spaces, dots, dashes or brackets between the groups, and an optional + at the start, like 555-555-5555, (555)555-5556 or +44 20 7946 0958. Dates, IP addresses and short numbers are skipped.

Use it to collect the numbers from an email, a web page, a contact list or a report. Repeated numbers can be listed once, even when they are written in different formats.

Extract phone numbers examples

Each example shows the text before and after extracting. Duplicates are removed unless the option is off.

CaseBeforeAfter
Example sentence
She said that you can call her at 555-555-5555 or (555)555-5556
555-555-5555
(555)555-5556
International numbers
UK +44 20 7946 0958, US +1 202-555-0173
+44 20 7946 0958
+1 202-555-0173
Dots and spaces
Call 555.123.4567 or 555 987 6543
555.123.4567
555 987 6543
One run of digits
Mobile: 5551234567
5551234567
Dates, IPs and short numbers are skipped
Date 2026-11-08, IP 192.168.0.1, code 12345, call 555-1234
555-1234
Same number, other format
(555) 123-4567 and 555-123-4567
(555) 123-4567
Duplicates kept (option off)
555-123-4567, 555-123-4567
555-123-4567
555-123-4567

How to extract phone numbers from text

  1. 1
    Add your text
    Paste your text into the box, or import a text file.
  2. 2
    Choose duplicates
    Keep Remove duplicate numbers ticked to list each number once, or untick it to keep every match.
  3. 3
    Click Extract Phone Numbers
    Every phone number is found and put on its own line. Use Undo if you change your mind.
  4. 4
    Copy it
    Click Copy and paste the list where you need it.

When to extract phone numbers

Good for

Collecting numbers from emails, web pages, contact lists and reports, and building a clean list to sort, check or import into a spreadsheet.

Check first

The tool finds the shape of a phone number and does not check that the number exists or follows the rules of a country. A plain run of digits is only found when it has 10 or 11 digits. The result replaces your text, so use Undo if you need the original.

Other tools

For other numbers try Extract Numbers From Text. To get postal codes try Extract Zip Codes.

Extract phone numbers FAQ

What does the Extract Phone Numbers tool do?

It finds every phone number in your text and puts each one on its own line. Everything else is removed from the result, and each number keeps the format you wrote it in.

How do I extract phone numbers from text?

Paste or type your text, or import a text file, then click Extract Phone Numbers. The numbers replace the text in the box. Click Copy to use them, or Undo to go back.

Which phone number formats are found?

Numbers with 7 to 15 digits written with spaces, dots, dashes or brackets between the groups, such as 555-555-5555, (555)555-5556, 555.123.4567 or +44 20 7946 0958. A number written as one run of digits is found when it has 10 or 11 digits, such as 5551234567.

Does it work for numbers from any country?

It does not check a country. It looks for the shape of a phone number, so many international numbers with a + and a country code are found, but a number is not checked against the rules of any country.

What is skipped?

Numbers with fewer than 7 or more than 15 digits, dates such as 2026-11-08, IP addresses such as 192.168.0.1, and a plain run of digits that is not 10 or 11 digits long.

Does it remove duplicate phone numbers?

Yes, by default. Two numbers with the same digits count as the same number even when they are written differently, so (555) 123-4567 and 555-123-4567 are listed once. The first one is kept. Untick Remove duplicate numbers to keep every match.

What if my text has no phone number?

The text is left as it is and you see the message No phone numbers found.

Is this tool free and is my text private?

Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.

Looking for more text tools?

Browse Extract Tools

Last updated: 8 November 2026