Extract Numbers from Any Text

Paste any text — phone numbers, prices, IDs, log lines — and pull out every number in one click.

What this tool does

Paste in any chunk of text — a chat log, a server response, a product description, an export from your CRM — and the tool returns every number it contains, line by line. You can copy the result, or refine it with toggles for decimals, negatives, thousand separators and uniqueness.

Under the hood it’s a regular-expression matcher running in your browser. No server is involved, no data is logged, and the whole thing works offline once the page is loaded.

Common use cases

Pulling phone numbers from a contact list

Got a CSV of customer emails with phone numbers buried in the “notes” field? Paste the whole column in, enable Include separators, and get a clean list of every phone number — ready to import into your dialer or contact app.

Extracting prices from product descriptions

Marketplace listings, scraped HTML, email receipts — prices are usually buried in prose. With Decimals on, prices like $19.99, €1.499,00 and £12.50 all surface as numbers.

Pulling IDs from logs

When debugging, you often need every order ID or user ID mentioned in a multi-page log. Paste the log, switch on Unique only, and the deduplicated list appears in the right pane.

Cleaning numerical data from a PDF copy-paste

PDF copy-paste tends to come out as a wall of mixed text and numbers. Use this tool to extract just the numerical values, then drop them into a spreadsheet for analysis.

Audit and reconciliation

Reconciling two reports? Extract the numbers from each, sort them, and diff. Much faster than reading line-by-line.

How the regex works

The tool uses one of two patterns depending on your toggles:

  • Default: -?\d+(?:,\d{3})*(?:\.\d+)? — matches integers, optional thousand separators, optional decimals, optional negative.
  • With separators: \d+(?:[\s.\-]\d+)+ — matches digit groups split by spaces, dots or dashes (good for phone numbers, IDs, dates).

If you have a custom format that doesn’t fit, paste an example into the input and turn separators off — the tool will still find every digit cluster, you can then cull manually.

Privacy

Number extraction sounds harmless, but the texts you paste might contain customer data, credentials, or secrets. csvquick runs the whole match locally — there is no upload, no logging, no third-party API. The only network requests on this page load static assets (CSS, JS) at first visit.

Related tools

Frequently asked questions

  • How do you extract numbers from text?

    Paste your text into the tool above. Numbers are matched with a regular expression and listed in the right pane. Toggle decimals, negatives, separators or 'unique only' to refine the output.

  • Can it extract phone numbers?

    Yes — enable 'Include separators'. Phone numbers like +1 (415) 555-0123 will be captured as single tokens.

  • What about prices like $19.99 or 1,234.56?

    Decimal mode and the default thousand-separator handling capture both.

  • Does it work with negative numbers?

    Yes. Toggle 'Negatives' to include values like -42 or -3.14.

  • Can I get only unique numbers?

    Yes — tick 'Unique only' and duplicates are removed.

  • Are my texts uploaded?

    No. Everything runs in your browser.

  • What's the maximum text size?

    Up to ~5 MB of text works smoothly in most browsers.