Skip to content
Tezmy Tools

Number Extractor

Extract all numbers from text and add them up

Sum
3304.25
Average
550.708333333
Smallest
-5
Largest
2041

6 numbers found.

Runs in your browser. Nothing is uploaded.

About the Number Extractor

Numbers hide in invoices, receipts, reports, log files and chat messages, and adding them up by hand is slow and error prone. This number extractor reads any text you paste, finds every number in it and lists them one per line, or as a comma-separated row. It understands decimals such as 12.50, negative numbers such as -5 and numbers with thousands separators such as 1,250.75, and it gives you the sum, average, smallest and largest at once. That makes it a quick way to total the figures in a document without moving them to a spreadsheet.

Updated October 2026

How to use the Number Extractor

  1. 1Paste text that contains numbers into the left box.
  2. 2Choose whether a minus sign counts as part of the number.
  3. 3Choose one number per line or a comma-separated line.
  4. 4Read the list and the sum, average, smallest and largest.
  5. 5Copy or download the numbers.

A worked example

Take the line Invoice 2041: 3 items at 12.50, total 1,250.75 (discount -5). Delivery in 2 days. The tool finds 2041, 3, 12.5, 1250.75, -5 and 2. The sum is 3,304.25, the average is 550.71, the smallest is -5 and the largest is 2041. The list makes it obvious which numbers are quantities and which are prices.

Good uses

  • Totalling figures pasted from a report or an email.
  • Listing every measurement in a lab note.
  • Pulling IDs or codes out of a log file.
  • Checking the range of values in a block of text.
  • Turning numbers in a paragraph into a column for a spreadsheet.

Tips for cleaner results

If the text mixes dates, phone numbers and amounts, first remove the parts you do not want, or paste only the lines that matter. To sort the numbers afterwards, use the Sort Numbers tool, and to find averages and spread use the Average Calculator or the Standard Deviation Calculator. The Comma Separator Tool turns the result into a single line for use in code or formulas.

Limits

The extractor reads plain numbers only. Numbers written in words, such as twenty, or in scientific notation, such as 3e8, are not recognised. Use the Words to Numbers Converter for number words, and keep very large values in mind, since extremely long digit strings lose precision when they are added together.

Features

  • Finds integers, decimals and negative numbers
  • Understands thousands separators
  • Sum, average, minimum and maximum
  • One per line or comma separated
  • Copy and download
  • Works offline in your browser

Frequently asked questions

How do I extract numbers from a text?

Paste the text into the box. The tool scans it for digits, including decimal points, minus signs and commas used as thousands separators, and lists each number it finds. The sum and other figures appear below.

Does it understand 1,250.75?

Yes. Commas that group digits in threes are treated as thousands separators and removed, so 1,250.75 is read as 1250.75. A European style number such as 1.250,75 will be read as two numbers, so convert such figures first.

How are negative numbers handled?

A minus sign directly in front of a number counts as part of it by default. If your text uses dashes as separators, for example 10-20, untick the option and the tool reads 10 and 20 as positive numbers.

Can I add up the numbers from an invoice?

Yes, but check the list first. An invoice also contains numbers such as dates, invoice numbers and quantities, which the tool cannot tell apart from prices. Delete the lines you don't want to sum before you paste.

Does it extract digits only, like phone numbers?

Phone numbers with spaces or hyphens are split into several numbers. For cleaning digits only, use the Find and Replace Text tool with a pattern, or the Text Cleaner.

What about percentages and currencies?

The symbols are ignored and only the numbers are listed, so 12% and $9.99 give 12 and 9.99. The unit stays in your original text.

Related tools