Ttooleras
📱

Extract Phone Numbers

Text Tools

Extract phone numbers from pasted text in US, UK, EU, and international formats, deduplicate, and export to CSV, JSON, or plain list.. Free, private — all processing in your browser.

Advertisement

Paste any block of text and this pulls out the phone numbers, deduplicates them, and gives you a clean list you can copy — all of them at once or one at a time. It's built for the tedious job of harvesting numbers from an email thread, a scraped page, a call sheet, or a wall of contact info, without hunting through it by eye.

It recognizes the common ways people write phone numbers: with or without a country code, area codes in parentheses, and separators like spaces, dashes, or dots. Anything with at least seven digits in a phone-like shape gets matched, then duplicates are collapsed so you don't get the same number five times.

Everything runs in your browser — the text you paste never leaves your device, which matters when you're processing contact lists. The result updates live as you edit the input.

Extract Phone Numbers — key features

International format support

Recognizes US/Canada (NANP), UK, EU, and other international phone number formats.

E.164 normalization

Outputs in the international canonical +[country][number] format used by Twilio, Stripe, and other phone APIs.

Country-specific mode

Narrow extraction to a single country format for cleaner results when source is homogeneous.

Vanity number handling

Optionally convert 1-800-FLOWERS to 1-800-356-9377 by translating letters to digits.

False positive rejection

Filters out date-like patterns, SKUs, and other digit sequences that resemble phone numbers.

Deduplication

Normalized comparison so +15551234567, 555-123-4567, and (555) 123-4567 all count as one number.

Multiple export formats

Plain list, CSV, JSON, or comma-separated — pick what your downstream tool needs.

Client-side only

Contact data stays in your browser — safe for processing customer lists or internal logs.

Using the Extract Phone Numbers

  1. 1

    Paste the text

    Drop any text — log file, document, email thread, CSV — into the input.

  2. 2

    Pick country mode

    Default auto-detection, or narrow to a specific country format for cleaner extraction.

  3. 3

    Extract

    Click extract — the tool finds every phone number and normalizes to E.164.

  4. 4

    Review and filter

    Scan the list for false positives; remove any manually if needed.

  5. 5

    Copy or download

    Copy to clipboard or export as CSV, JSON, or plain list.

Common use cases for the Extract Phone Numbers

Sales and marketing

  • Lead extraction from email: Pull phone numbers from email threads with prospects for CRM import.
  • Contact form parsing: Extract phone numbers from free-text contact form submissions.
  • Directory building: Build a phone directory from multi-source text exports (HR files, business cards, meeting notes).

Customer service

  • Support ticket mining: Extract customer callback numbers from support ticket bodies for phone-based follow-up.
  • Chat transcript analysis: Pull phone numbers from chat logs when customers share them during a conversation.
  • Call-back lists: Consolidate callback numbers from several days of tickets or voicemails into one clean list.

Data processing

  • Log audit: Extract phone numbers mentioned in application or call logs for audit trails.
  • Duplicate detection: Dedupe a contact list’s phone column to find accidental duplicate records.
  • Data migration: Clean phone fields from a legacy export before importing into a new CRM with E.164 requirements.

Extract Phone Numbers — examples

US format

Extracting a NANP number from prose.

Input
Call me at (555) 123-4567 or 555.234.5678
Output
+15551234567
+15552345678

International

Various country formats recognized.

Input
UK office +44 20 7123 4567, France +33 1 23 45 67 89
Output
+442071234567
+33123456789

With extensions

Extensions captured or dropped.

Input
Main line 555-234-5678 ext. 1234
Output
+15552345678 (ext. 1234)

Vanity number

Letters converted to digits.

Input
Call 1-800-FLOWERS for delivery
Output
+18003569377

Deduplication

Same number in different formats counted once.

Input
Call 555-123-4567, that is (555) 123-4567, or +1 555 123 4567
Output
+15551234567 (3 occurrences, 1 unique)

How it works

Extraction is pattern-based. A regular expression looks for phone-like sequences: an optional country code (an optional + and one to three digits), an optional parenthesized area code, and groups of digits separated by spaces, hyphens, or dots. To cut down on false matches, any candidate with fewer than seven digits (after stripping non-digits) is discarded, since real phone numbers have at least that many. Matches are then put through a set to remove duplicates.

Because it's regex-based rather than a true phone-number parser, it optimizes for recall over precision — it aims to catch numbers written many different ways, which means it can also grab number sequences that merely look like phones (long IDs, some dates, order numbers). It doesn't validate that a number is real, assigned, or correctly formatted for a given country, and it won't normalize numbers into a canonical form. All processing happens locally in your browser.

Common problems and solutions

It can match things that aren't phone numbers

Because it looks for phone-like digit patterns, long ID numbers, some dates, and order references can slip in. Scan the results and drop anything that isn't actually a phone number.

It doesn't validate numbers

A match only means the text looks like a phone number, not that it's real, active, or valid for any country. For validation, run the results through a library like libphonenumber.

Unusual formats may be missed

Numbers written with letters (1-800-FLOWERS), extensions, or uncommon separators may not match, or may match only partially. It targets common numeric formats.

No country normalization

Extracted numbers keep whatever formatting they had in the text. The tool won't convert them to a standard E.164 form or add missing country codes — pair it with a formatter if you need consistency.

Seven-digit minimum

To avoid noise, candidates with fewer than seven digits are ignored. Very short internal extensions or partial numbers below that threshold won't appear.

Extract Phone Numbers — comparisons and alternatives

A library like Google's libphonenumber actually validates and formats numbers against per-country rules — it knows a UK mobile from a US landline and can reject impossible numbers. This tool doesn't do that; it's a fast extractor, not a validator. If you need to verify, normalize, or classify numbers, run the extracted list through libphonenumber or a similar library afterward.

Where this shines is the quick harvest: you have text with numbers scattered through it and you want them out, deduplicated, in seconds. For that everyday task — cleaning up a contact dump, grabbing numbers from a document — it's faster than any validating parser, and you can always validate the results downstream if precision matters.

Frequently asked questions about the Extract Phone Numbers

What phone number formats does it recognize?

Common ones: with or without a country code, area codes in parentheses, and digits separated by spaces, dashes, or dots. Anything with at least seven digits in a phone-like shape is matched.

Does it check that the numbers are valid?

No. It extracts anything that looks like a phone number but doesn't verify it's real or correctly formatted for a country. For validation and formatting, use a library such as Google's libphonenumber on the results.

Why did it grab something that isn't a phone number?

The pattern matches phone-like digit sequences, so long IDs, some dates, or reference numbers can be caught. Review the list and remove any false positives — it favors catching more over being strict.

Are duplicates removed?

Yes. Identical matches are collapsed so each number appears once, even if it shows up many times in the text. You can copy the whole deduplicated list or individual numbers.

Is my text uploaded anywhere?

No. Extraction runs entirely in your browser. The text you paste — including any contact information — never leaves your device.

Further reading

Advertisement

Related tools

All Text Tools

Learn more

Explore more tools

200+ free tools that run in your browser.

Browse all tools →