Extract Numbers

Pull every number out of any text and instantly see their sum, average, minimum and maximum. Free, instant and private — your text is analyzed in your browser and never uploaded.

0
Count
0
Sum
0
Average
Minimum
Maximum

How to extract numbers from text

  1. Paste your text. Drop a report, invoice, spreadsheet export or any paragraph containing numbers into the box above.
  2. Pick what counts. Decide whether to include decimals, negative values and comma thousands separators, and whether to remove duplicates or sort the results.
  3. Read the totals and copy. The count, sum, average, minimum and maximum update instantly. Copy the number list or download it as a text file.

About this tool

This number extractor scans any block of text and returns just the numeric values it contains, one per line, along with useful statistics. It is perfect for adding up figures scattered through an email, pulling prices out of a quote, collecting measurements from notes, or turning a messy paragraph of data into a clean column you can paste into a spreadsheet. Thousands separators like 1,234,567 are understood and normalized, so the totals are accurate.

All calculation happens locally in your browser with JavaScript — your text is never uploaded, logged or stored, so financial figures and private data stay on your device. You control exactly what is treated as a number: switch decimals or negatives off to ignore them, or turn thousands separators off if commas in your text separate list items rather than digit groups.

Frequently asked questions

How are decimals and negative numbers handled?

With Include decimals on, values like 3.14 and .5 are captured; turn it off to keep only whole numbers. With Include negatives on, a minus sign directly in front of a number (like -42) makes it negative and it is subtracted in the sum.

What do thousands separators do?

When enabled, a number written as 1,234,567 is read as a single value of 1234567. Groups must be exactly three digits, so a list like 1,2,3 is still read as three separate numbers. Turn the option off if commas in your text never group digits.

How is the sum calculated?

Every extracted value is converted to a real number (with commas removed) and added together. The result is rounded to remove tiny floating-point errors, and the average is simply the sum divided by the count.

Is my data private?

Yes. The tool runs entirely in your browser and never sends your text anywhere, so it is safe to use for invoices, financial reports and other sensitive documents.