Number Extractor

Pull every number out of text — integers, decimals and negatives — with instant sum, average, minimum and maximum stats.

The Number Extractor scans any block of text and pulls out every number it contains, returning a clean one-per-line list that is ready to paste into a spreadsheet, calculator, or report. Whether your source is a log file, an invoice, a survey export, or a wall of copied notes, the tool finds each figure buried among the words and punctuation so you never have to hunt for values by hand.

It also does the arithmetic for you. As soon as the numbers are extracted, a statistics panel reports how many were found along with their sum, average, minimum, and maximum, giving you an instant summary of the data hidden inside your text. You can choose whether to include decimal points and negative signs, remove duplicate values, and sort the results in ascending or descending order.

Everything runs locally in your browser using JavaScript, so nothing is uploaded and no account is required. Paste your text, adjust the options to match the kind of numbers you care about, and read the extracted list plus its summary statistics. Because the work happens entirely on your own device, even sensitive financial or operational data stays completely private.

Features

  • Extracts integers, decimal numbers, and negative values from unstructured text in a single pass.
  • Lets you toggle decimal detection off when you only care about whole numbers.
  • Optionally ignores minus signs so hyphenated ranges are not misread as negatives.
  • Removes duplicate numbers when enabled so each distinct value appears only once.
  • Sorts the extracted numbers in ascending or descending order for easy scanning.
  • Reports live statistics including count, sum, average, minimum, and maximum.
  • Runs entirely in your browser, keeping financial and operational figures private.

How to use Number Extractor

  1. Paste the text that contains your numbers into the input box on the left.
  2. Decide whether to include decimals and negatives using the two checkboxes.
  3. Enable Remove duplicates if you only want each unique value once, then pick a sort order.
  4. Read the extracted numbers list, which shows one figure per line ready to copy.
  5. Check the statistics panel for the count, sum, average, minimum, and maximum.
  6. Copy the list to your clipboard or export it as a TXT file for later use.

Benefits

  • Turns messy reports and logs into a tidy column of numbers without manual retyping.
  • Gives you instant totals and averages so you can summarise data at a glance.
  • Helps analysts and finance teams pull figures out of pasted documents quickly.
  • Removes duplicate values so repeated numbers do not skew your quick calculations.
  • Keeps confidential financial data on your device because nothing is uploaded.
  • Saves time compared with scanning text by eye or writing a one-off script.

The extractor recognises numbers by pattern, so it captures values embedded in sentences, tables pasted as text, CSV rows, and log lines alike. When decimal detection is enabled it keeps the fractional part of figures like 19.99, and when negative detection is enabled it preserves the leading minus sign. If your text uses hyphens as ranges or separators, turning off negative detection prevents those hyphens from being read as part of a number.

The statistics are computed on the final list after any deduplication, so the sum and average reflect exactly the values you see. This makes the tool handy for quick sanity checks — for example, confirming that a column of prices adds up as expected, or spotting an outlier through the minimum and maximum. For heavier analysis, export the list and drop it into a spreadsheet where you can apply formulas across the extracted column.

Frequently asked questions

Related tools