Extract

Extract Numbers

Details

How to use Extract Numbers

What the tool does, how to run it, and what to expect from the result.

How to extract all numbers from text

Paste the text into the input box. Every run of digits, with its thousands separators and decimal part, is pulled out and listed in order, one number per line.

The output is a raw list, so give it one pass before you use it: strip any trailing commas, look for negatives that came from hyphens in phone numbers or ranges, and remember that the units and currency symbols were left behind.

  • Paste the document, invoice, or report text into the input box.
  • Read the extracted numbers in the output panel, one per line and in source order.
  • Remove any trailing commas that came from sentence punctuation.
  • Check for unexpected negative values, which indicate a hyphen in the original.
  • Press Copy result and paste the column into a spreadsheet for any arithmetic.
Tips

Getting a better result out of Extract Numbers

Specific settings and thresholds, not general advice.

  • The pattern reads a digit and then keeps taking digits and commas, then an optional decimal point and more digits. That preserves thousands separators, so "1,234" is returned intact rather than as 1 and 234.
  • Thousands separators are understood, so 1,234.50 comes back whole. A comma that is punctuation rather than part of the number is not swallowed: "Order 12, 34 items" returns 12 and 34.
  • A minus sign counts only when it actually starts the number, so a phone number written 555-1234 returns 555 and 1234 rather than inventing a negative. A range written 3-4 returns 3 and 4.
  • There is no scientific-notation support. "1e5" is read as the two numbers 1 and 5, and an exponent will silently split into pieces.
  • Results are listed in the order they appear, one per line, and they are not deduplicated, so a repeated figure appears as many times as it occurs in the text.
Limits

What Extract Numbers does not do

The honest boundary, so you do not lose time finding it yourself.

  • It extracts the digits only, never the unit, currency symbol, or label next to them.
  • It cannot tell a decimal comma from a thousands separator, so European-formatted numbers are ambiguous.
  • It does no arithmetic: no sum, no average, no min or max.
  • It does not deduplicate or sort the numbers it finds.
At a glance

Who Extract Numbers is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Writers, students, editors, marketers, and developers working with text.

Ideal for

Quick, private text work without installing an app or trusting a server with your content.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Does my data get uploaded anywhere?

No. Everything runs locally in your browser and nothing is sent to a server.

Is this free to use?

Yes. It is completely free, with no account, no signup, and no usage limits.

Do I need to install anything?

No. The tool runs entirely in the browser, so there is nothing to download or install.

Are thousands separators handled?

Yes. A number written as 1,234.50 comes back intact, while a comma that is ordinary punctuation is left behind rather than stuck to the number. The output is ready to paste into a spreadsheet.

Will a phone number be read as a negative?

No. A hyphen only reads as a minus sign when it opens the number, so 555-1234 gives you 555 and 1234, and a range written 3-4 gives you 3 and 4. A real negative such as -7 is still recognized.

Does it keep decimals and currency?

Decimals yes, currency no. A price of 34.50 with a dollar sign in front returns as 34.50 without the symbol, because only the digits and the decimal point are captured.

Can it add up the numbers it finds?

No, it only extracts them. Copy the list, paste it into a spreadsheet column, and sum it there. The values come out clean, so there is nothing to strip first.

Will it handle numbers written with a comma as the decimal point?

Not correctly, because the comma is treated as a thousands separator. A value written as 3,5 is returned as the string "3,5", which most spreadsheets in an English locale will read as 35 or reject.

Is the text I paste kept anywhere?

No. Extraction runs in the browser, which matters when the source is an invoice, a bank statement, or a report you would not upload to a stranger's server.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon