Extract Phone Numbers from Text
Paste an email, a document or a web page and NumSwift lists every phone number it finds, in international format and without repeats. Each number has Call, SMS, WhatsApp and Copy buttons, and the whole list can be copied or downloaded as a CSV file.
Last updated:
Extract Phone Numbers Instantly
How it works
- 1. Copy textFrom an email, chat, document or web page
- 2. Paste and extractEvery phone number in it is listed below
- 3. Use the numbersCall, text, WhatsApp, copy or export them
Private by design
The text and numbers you paste never leave your browser. Your list is kept in this browser's storage until you clear it. We collect anonymous usage analytics. Privacy details
Questions or feedback? Contact us.
How to extract phone numbers
- Copy the text that contains the phone numbers.
- Paste it into the box above. If a number has no country code, check the country next to "Numbers without a country code are read as", directly under the box.
- Press Extract, or Ctrl+Enter (Cmd+Enter on a Mac).
- Use Call, SMS, WhatsApp or Copy next to a number, or use Copy all or Download CSV for the whole list.
Formats it reads
- International: +1 212 555 0123 or +44 20 7946 0958.
- National with punctuation: (212) 555-0123, 212-555-0123 or 212.555.0123.
- Digits only: 2125550123.
- With a label or an extension: "Call us: (212) 555-0123 ext. 200" gives +1 212 555 0123.
- Numbers written with + and a country code are recognized for any country. Numbers without one are read using the country you pick under the input.
Where the text can come from
NumSwift only sees the text you paste, so the source does not matter as long as you can copy from it. One paste can be up to 100,000 characters.
- Emails and signatures: copy the whole message, including quoted replies.
- Web pages and directories: select the contact section, or the whole page, and paste it.
- PDFs and invoices: copy the text from your PDF viewer.
- Spreadsheets and CSV files: copy the cells; numbers mixed in with names and other columns are still found.
- Chat messages and social posts where people share numbers in free-form text.
What to check in the results
- Country: a number written without a country code is read as a number from the selected country. Change the country picker if your text comes from somewhere else.
- Other digit strings: every match is checked against the numbering rules of its country, which filters out most order numbers and dates. A string that happens to fit can still match. For example, "Invoice 2024001234" is read as the US number +1 202 400 1234.
- Duplicates: the same number written in two different ways is listed once.
- Extensions: the extension is dropped and the main number is kept.
Frequently asked questions
How does NumSwift find phone numbers in text?
It uses libphonenumber-js, which is built on Google's libphonenumber metadata. The library scans the text for candidates and keeps the ones that are valid numbers under the numbering rules of their country.
What kinds of text can I paste?
Anything you can copy as text: emails, signatures, documents, web pages, spreadsheet cells, PDFs and chat messages. A paste can be up to 100,000 characters and the list holds up to 1,000 numbers.
Does it handle different phone number formats?
It reads numbers written with spaces, dashes, dots or parentheses, with or without a country code. For example +1 212 555 0123, (212) 555-0123, 212.555.0123 and 2125550123 are all read as the same US number.
Does it know which country a number is from?
When the number is written with + and a country code, it does. A number without a country code does not say which country it belongs to, so NumSwift reads it using the country you select under the input.
Is the text I paste sent to a server?
The text and numbers you paste never leave your browser. We collect anonymous usage analytics. Your list of extracted numbers is kept in this browser's local storage so it is still there when you come back, and Clear all removes it.