Extract E.164 phone-number candidates

Extract plus-prefixed E.164-style number candidates from surrounding text.

freeworks offlinenothing uploaded
ToolPhone Extractor
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

A candidate begins with +, then a non-zero digit, and contains at most 15 digits in total. Matching is bounded by neighbouring digits; optional normalization removes only the plus sign rather than guessing a national country code.

  • National formats are excluded by default because their meaning depends on country context.

Worked example

Find two international numbers in support text
Keep plus-prefixed E.164-style candidates and omit national formats
Input
											Call +14155552671 or +442071838750; the local extension is 123.
										
Output
												Phones: +14155552671, +442071838750
Count: 2
Unique: +14155552671, +442071838750
Normalized: 14155552671, 442071838750
											

When to use this

CRM-note migrations, support-ticket callback reviews, and international contact exports scan for plus-prefixed candidates.

Edge cases

  • 020 7183 8750 is omitted because no country context supplies an international calling code.
  • The x123 portion of +14155552671 x123 is not part of the E.164 candidate.
  • A matching 15-digit string is only syntactically plausible; assignment and reachability are not verified.

References