Free Toolkit

Number ExtractorExtract all numbers from text with sum, average, min, and max statistics.

Number Extractor illustration
📝

Number Extractor

Extract all numbers from text with sum, average, min, and max statistics.

How to Use
1

Paste Text

Paste text containing numbers.

2

Auto-Extract

All numbers are found and listed with statistics.

3

Copy Results

Copy the extracted numbers and stats.

What Is Number Extractor?

The Number Extractor scans text and pulls out all numbers, including integers, decimals, negative numbers, and scientific notation. In addition to listing all found numbers, it calculates basic statistics: sum, average, minimum, and maximum values. This is useful for quickly extracting numerical data from text, analyzing datasets, or collecting measurements from documents.

Why Use Our Number Extractor?

  • Extract all numbers from text automatically
  • Automatic sum, average, min, and max calculations
  • Handles integers, decimals, negatives, and scientific notation
  • Quick numerical data extraction from any text

Common Use Cases

Data Extraction

Pull numbers from reports, articles, or documents for analysis.

Quick Statistics

Get instant sum, average, min, and max from text data.

Research

Extract measurements and values from scientific papers.

Financial Analysis

Pull dollar amounts and percentages from financial text.

Technical Guide

The extractor uses the regex /-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g to match numbers in various formats. The pattern supports optional negative sign, integer digits, optional decimal point with fractional digits, and optional scientific notation (e/E with optional sign and exponent digits). Extracted strings are parsed with Number() for calculation. Statistics (sum, average, min, max) are computed using Array.reduce and Math.min/Math.max. Results are formatted with the numbers list followed by a statistics summary section.

Tips & Best Practices

  • 1
    Handles integers, decimals, negative numbers, and scientific notation
  • 2
    Statistics are calculated automatically for all found numbers
  • 3
    Numbers embedded in words or codes are also extracted
  • 4
    Use for quick data analysis from unstructured text

Related Tools

Frequently Asked Questions

QWhat number formats are supported?
Integers, decimals, negative numbers, and scientific notation (like 1.5e10).
QAre numbers with commas extracted?
The current pattern extracts digit groups. Numbers like 1,000 would be extracted as separate numbers (1 and 000).
QDoes it handle currency symbols?
Currency symbols are ignored; only the numeric portion is extracted.
QHow is the average calculated?
The average is the sum of all found numbers divided by the count of numbers.
QCan I extract numbers from a specific range?
All numbers are extracted. Use the Regex Tester for custom range-based extraction patterns.

About Number Extractor

Number Extractor is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.