Skip to content
TextArray
100% local

Number extractor

Pull every number out of text — integers, decimals and negatives — one per line.

Input
Output

Number extractor

Paste any text and this tool lists every number it contains, one per line: integers, decimals, negative values and numbers buried inside words or price tags, so €49.99 comes out as 49.99 and abc123 yields 123. It is the fastest way to turn an invoice, a log file, a report or a pasted email thread into a clean column of values you can drop straight into a spreadsheet.

The decimal separator option decides how commas are read. Auto keeps things sensible for mixed text: a token with a dot reads the dot as the decimal point and strips grouping commas, so 1,234.56 becomes 1234.56, while a lone comma between digits with no dot in sight is a decimal comma, so 3,14 becomes 3.14. Force dot if your commas separate list items, or comma if you work with European figures like 1.234,56. Every extracted number is normalised to a dot decimal, which spreadsheets and scripts parse without complaint.

Remove duplicates collapses repeated values — 5 and 5.0 count as the same number. Sort numerically orders the list by value rather than alphabetically, so 10 no longer lands before 2. Show sum and stats appends the sum, minimum, maximum and average under the list, computed over every occurrence found, and the live tally keeps the count and the running sum in view as you type.

Everything runs locally in your browser. Financial figures, measurement logs and client data never leave your device, so you can extract from confidential documents without a second thought.

FAQ

How does the auto decimal separator work?
Per number: if it contains a dot, the dot is the decimal point and commas are read as thousands separators (1,234.56 → 1234.56). If it has exactly one comma and no dot, the comma is the decimal separator (3,14 → 3.14). Note this means 1,234 alone reads as 1.234 — switch to dot mode when your commas group thousands.
Does it find numbers inside words and prices?
Yes. Digits glued to letters or symbols are extracted, so abc123 gives 123 and €49.99 gives 49.99. Write decimals with a leading digit (0.5, not .5) — a bare dot before digits is not treated as a number.
What happens with IP addresses or version numbers?
A token with several dots, like 192.168.1.1, is split at each extra decimal point and comes out as 192.168 and 1.1. The extractor reads numeric values, not identifiers, so filter such lines out beforehand if they matter.
Are the sum and stats computed before or after removing duplicates?
Before. The sum, minimum, maximum and average always cover every occurrence found in the text, so removing duplicates changes the list but never the totals.
Is my text uploaded anywhere?
No. The extraction runs entirely in your browser and your text never leaves your device.