Home/Blog/How to Extract Phone Numbers from Text

How to Extract Phone Numbers from Text

Find and extract all phone numbers from documents, emails, and other text.

2026-03-16Extract Data

Phone numbers appear in contact directories, business documents, web pages, and CRM exports. Extracting them manually is slow and error-prone.

How It Works

The Extract Phone Numbers tool detects common phone number formats including numbers with country codes (+1), parenthesized area codes like (555), and various separators (dashes, dots, spaces). Paste your text and get a clean list of every phone number found.

Supported Formats

The tool handles formats like (555) 123-4567, +1-800-555-0199, 555.123.4567, and 555 123 4567. International formats with country codes are also detected.

Common Use Cases

Extracting contact numbers from business directories, pulling phone numbers from PDF documents, collecting numbers from email signatures, and building contact lists from unstructured data.

Combine with Email Extraction

For complete contact extraction, run Extract Phone Numbers and Extract Emails on the same text. Both tools can be used in sequence via the pipeline feature.

Try it now — paste your text below

Everything runs locally in your browser. No data is stored.

Extract Phone Numbers

Detect and extract phone numbers in various formats including international (+1), parenthesized area codes, and dash/dot/space separators.

Example

Input

Call (555) 123-4567 or +1-800-555-0199 for support.

Output

(555) 123-4567
+1-800-555-0199

How Extract Phone Numbers Works

Detect and extract phone numbers in various formats including international (+1), parenthesized area codes, and dash/dot/space separators.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Extract Phone Numbers, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.

TextRefinery — Browser-first text transformation tools. All processing happens locally in your browser.