Extract numbers from text

Paste any text: the tool fishes out every number, including decimals written with a period or a comma, and instantly gives you the list, the sum, and the average.

0Numbers found
0Sum
0Average
Your text stays in your browser: nothing is stored or sent anywhere.

Periods, commas, and thousands: how numbers are read

The tool recognizes integers, negative values, and decimals written both US-style (3.14) and European-style (3,14). When both separators appear in a number, the last one is the decimal point: 1,234.56 and 1.234,56 are both one thousand two hundred thirty-four and change. A separator repeated with groups of three digits, as in 1,234,567, marks the thousands; one that does not form groups, as in a date written 25.10.2026, splits different numbers, listed one by one.

One case is ambiguous by nature, a single separator followed by three digits: 1,234 could be one thousand two hundred thirty-four or a decimal written European-style, and 1.234 the other way round. Here the language of the page decides, and in English the comma marks thousands and the period decimals, so 1,234 is read as 1234 and 1.234 as a number just over one; below the result you get the list of the numbers read either way, so you can check them. And the minus sign only counts in front of a number: in a code like A-12 or in a range like 2020-2024 the hyphen makes nothing negative.

Sum and average without opening a spreadsheet

It's the fastest way to total amounts scattered through a message, an email, or a receipt pasted from a PDF: no columns to build in Excel, no calculator. It also comes in handy for averaging grades on a transcript, adding up shared expenses in a group chat, or quickly checking that the totals on a quote add up, say, line items of $19.99, $45.50, and $12 summed in a second. The extracted list, one number per line, pastes straight into a spreadsheet if you want to keep working on it.

Related tools