Search tools

Find a tool by name or what it does.

Extract Numbers

Pull every number out of pasted text, then dedupe, sort, and see the sum and average.

Extracted live as you type. Nothing leaves your browser.

What counts as a number

Output options

Extracted numbers will appear here.

How to extract numbers from text online

  1. Paste your text

    Paste or type any text, spreadsheet dump, or list into the input box.

  2. Choose what counts as a number

    Toggle decimals, negatives, numbers attached to letters, and thousands separators to match how your numbers are written.

  3. Refine the list

    Switch to comma-separated output, remove duplicates, or sort ascending, and the list updates instantly.

  4. Copy the results

    Click Copy to put the extracted numbers, along with the count, sum, and average, on your clipboard.

Why use this tool

Finds numbers anywhere in the text

It scans the entire input and pulls out every number, whether it sits in prose, a spreadsheet dump, an invoice, or a comma-jumbled list.

Matches decimals, negatives, and separators

Turn on decimals to keep values like 3.14, negatives to keep -42, and thousands separators to read 1,234 as a single number instead of two.

Optional attached-number matching

By default numbers glued to letters like abc123 are skipped; switch it on to pull the digits out of those tokens too.

Dedupe, sort, and reformat instantly

Remove duplicate values, sort the list ascending, and switch between one-per-line and comma-separated output with a single click.

Instant stats on the results

A live summary shows how many numbers were found, how many are unique, and the sum and average of every value.

Runs entirely in your browser

Everything happens on your device; nothing is uploaded, so you can safely extract numbers from private documents.

About this tool

This number extractor scans any block of text and pulls out every numeric value it can find, from a simple word count to a spreadsheet export pasted as plain text. The detection options control what actually counts as a number: include decimals to keep values like 3.14, include negatives to keep a leading minus sign, and strip thousands separators to read 1,234 as one number instead of a stray comma splitting two digits. By default, digits glued to letters such as abc123 or v2 are skipped so version strings and product codes do not pollute the list, but a toggle switches that on when you actually want those digits pulled out too.

Once the numbers are found, the output options reshape the list without touching the source text. Remove duplicates keeps the first occurrence of each value, sort ascending puts the smallest number first, and the separator toggle switches between one number per line and a single comma-separated line, which is handy for pasting straight into a spreadsheet formula. A live summary above the list shows how many numbers were found, how many are unique, and the sum and average of every matched value, so you get a quick read on the data without opening another tool.

It pairs naturally with other cleanup tools once you have your list. Run the result through the line sorter for more control over ordering, or use find and replace to fix formatting before extracting. If you need the opposite, stripping digits out and keeping only the surrounding words, the remove numbers tool does the inverse job. Everything runs in browser memory, so pasted text never leaves the page.

Frequently asked questions

How does the number extractor work?
Paste any text into the box and every number it contains is pulled into the list below, updating live as you type. Use the detection toggles to control decimals, negatives, attached numbers, and thousands separators, then refine the output with dedupe, sort, and separator options.
Does it handle numbers with commas, like 1,234?
Yes. Turn on "Strip thousands separators" and a number written as 1,234 is read as a single value, 1234, instead of being split at the comma. Leave it off and each digit group is treated on its own.
What happens to numbers stuck inside words, like abc123?
By default those are ignored so codes and version numbers do not clutter the list. Turn on "Include numbers attached to letters" to pull the digits out of tokens like abc123 or v2.5 as well.
Can it remove duplicate numbers?
Yes. Turn on "Remove duplicates" and only the first occurrence of each value is kept. Combine it with "Sort ascending" to get a clean, ordered, unique list.
Is my text uploaded anywhere?
No. Extraction runs entirely in your browser. Your text never leaves your device, is never sent to a server, and is not stored or logged.
Is there a limit on how much text I can paste?
There is no hard limit. It comfortably handles long documents and lists with thousands of numbers, though a very large paste may take a brief moment to process.

Related tools