Extract Numbers
Extract numbers, decimals, and negative values from text with duplicate filtering and summary statistics.
Run tool
Extract numeric values from plain text passages, raw data logs, or mixed content quickly. The tool scans your input for numeric sequences, including negative values and decimal fractions when enabled. You can keep every occurrence or filter out duplicates to retain only the first instance of each distinct number. Beyond listing the extracted numbers, the interface calculates essential summary figures: the total count of identified items, their combined sum, and their arithmetic average. When decimal matching is toggled off, the parser targets whole integers only and stops at decimal points. If you submit empty text, the tool outputs zero matches and sets all summary metrics to zero. This utility helps you pull figures out of informal notes, survey responses, inventory lists, and mixed-format records without manual copy-pasting. Review your extracted numbers in sequence, verify the computed statistics, and copy the clean values directly into your spreadsheets, reports, or data processing tools.
Instructions
- Paste or type your content into the Text area.
- Enable the Unique Only option if you want to remove duplicate numbers and keep only the first occurrence.
- Keep Include Decimals checked to extract fractional numbers, or uncheck it to match only whole integers.
- Submit the form to generate the extracted number list along with the count, sum, and average.
Examples
- For input 'Order #104: items at $45.50 and $12.00 with discount -$5.50' with decimal matching enabled, the tool extracts '104', '45.50', '12.00', and '-5.50', producing a count of 4, a sum of 156, and an average of 39.
- For input 'Bay 12, shelf 40, bin 12, item 40' with Unique Only enabled, the tool extracts '12' and '40', producing a count of 2, a sum of 52, and an average of 26.
FAQ
How does the tool handle negative numbers?
The extractor recognizes an optional leading minus sign attached directly to digits, treating values like -15 or -3.14 as negative numbers in both the list and statistical calculations.
What happens when Include Decimals is turned off?
When decimal matching is disabled, the parser captures only whole integers. Decimal points are treated as delimiters rather than parts of the numeric token.
How does the Unique Only setting work?
When enabled, it filters out repeated numeric tokens while keeping the first occurrence of each unique number in the order it appeared.
What is returned if the input text contains no numbers or is left blank?
The tool outputs an empty match list with a count of 0, a sum of 0, and an average of 0.