Extract Numbers

Pull every number out of a block of text into a clean list, one per line, with the count, sum, smallest and largest value.

Options

Result

Numbers found
0
Sum
0
Smallest
0
Largest
0

Processed in your browser. Nothing you type is uploaded.

How it works

The tool scans for numeric patterns: integers, decimals, negative and positive signs, and comma thousands separators. Each match is listed in the order found. The summary figures are calculated from the numeric values, with separators removed.

A minus sign only counts as part of a number when it is not attached to a preceding letter or digit, so a range like “10-20” gives 10 and 20, not 10 and −20.

Rules this tool follows

  • “1,250,000” is one number when thousands separators are on; turn that off to split at commas.
  • Turn off decimals to treat “3.5” as two whole numbers.
  • Duplicates are kept by default, because repeated values usually matter when summing.
  • Sorting orders by numeric value, not alphabetically.

Example

Input

Total: 1,250.40
Discount: -50
Items: 12 at 3.5 each
Range 10-20

Output

1,250.40
-50
12
3.5
10
20
Sum: 1,245.9. Smallest: −50. Largest: 1,250.4.

Common uses

  • Collecting figures from reports, invoices or emails.
  • Quickly totalling amounts mentioned in text.
  • Extracting IDs or quantities for a spreadsheet.

Limitations and notes

  • Only the digits 0–9 are recognized. Numbers written as words, fractions like ½ and scientific notation are not.
  • Commas are always read as thousands separators when that option is on, so “1,5” (European decimal) becomes “1” and “5”.
  • Dates and phone numbers are split into their numeric parts.

All text cleaners