Blog
Text tools

Number counter online

Unlike a digit counter, this tool counts whole NUMBERS as sequences — "2024" is one number, not four digits. It shows the count, sum and average of the numbers found, and the list can be copied separately.

Your data never leaves this device

Result

Numbers found
Sum
Average

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Number A continuous run of digits, with one fractional part when a separator is selected
"Ignore" "3.14" is counted as two separate numbers: 3 and 14
"Dot" / "Comma" The fractional part is only recognized with the chosen separator
"Automatically" Accepts both a dot and a comma as a decimal separator
Sum and average Computed over every number found, after normalizing to one format

When it misleads you

How it is calculated

The tool searches the text for runs of digits with a regular expression; when a separator is chosen (dot or comma), the fractional part after that separator is included in the match.

"Automatically" accepts both separators, "ignore" looks for whole numbers only, without trying to attach a fractional part — this splits entries like "3.14" into two separate numbers.

Every number found is normalized (commas replaced with dots) and converted to a floating-point number for the sum and average.

The sum adds up every number found after normalization; the average is the sum divided by the count. The list of numbers found is shown one per line and can be copied separately from the stats.

Questions and answers

How is this different from a digit counter?

A digit counter counts individual 0-9 characters. This tool counts whole NUMBERS as sequences — "2024" is one number here, not four digits.

Why did a number with a thousands-separator space get split in two?

A space is never part of a number in any mode — "12 500" is found as "12" and "500" separately. Remove thousands-separator spaces before counting if you need an accurate result.

How do I count negative numbers?

You can't, directly — the minus sign isn't included in the number, so a negative "−5" is counted as the positive number 5. The sum and average will be off for text with negative quantities.

Is my text sent anywhere?

No, all the parsing runs in your browser.

Related tools

All tools