Skip to content
Allin

Extract phone numbers

Pull three families of phone number out of text: international (+33 6 12 34 56 78, 0033…), French national (06 12 34 56 78, 01.23.45.67.89) and North American ((555) 123-4567). Dates and long reference numbers are left alone. Takes a whole file, so a long log does not have to go through the clipboard.

Extract phone numbers is free to use as often as you like, directly from this page. It covers +33 6 12 34 56 78, 0033 — adjust any of them and the result follows immediately.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What does Extract phone numbers do?

Pull three families of phone number out of text: international (+33 6 12 34 56 78, 0033…), French national (06 12 34 56 78, 01.23.45.67.89) and North American ((555) 123-4567). Dates and long reference numbers are left alone. Takes a whole file, so a long log does not have to go through the clipboard.

What does it take into account?

It factors in +33 6 12 34 56 78, 0033. Change any of them and the output follows immediately.

When would I actually use this?

Getting usable data out of something that was never meant to be parsed: pulling every address out of a pasted thread, turning a column of lines into a JSON array or an SQL IN clause, renaming a hundred identifiers from snake_case to camelCase in one pass.

What is the most common mistake?

Trusting an extraction to be exhaustive. A pattern that catches every address in the sample will still miss the one wrapped across a line break, the one written with a display name, and the one an email client turned into a link — count what came out against what you expected before you use the list.

How is Extract phone numbers different from Extract numbers?

They sit next to each other but answer different questions: Extract numbers is the one to open when you need it to pull every number out of a block of text — grouped thousands stay one number (1,234.56 or 1 234,56), a hyphen inside a reference is not a minus sign, and you can normalise what comes out. Works on a pasted block or on a file you drop in. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

Extract text between delimiters is the closest one after this: Pull out every piece of text that sits between a start and an end marker. Takes a whole file, so a long log does not have to go through the clipboard.

What else is worth having open alongside it?

Extract domains and Extract emails — they come up in the same task often enough to be worth a second tab.

Where do the figures come from?

Extraction runs on patterns, not on a parser: it recognises the common shapes of an address, a URL or an IP rather than validating them against their specification. That is the right trade for a paste, and the wrong one for input you are about to store.

Further reading

All guides