Extract numbers from text

Paste any text and list its numbers with their sum, smallest and largest. Nothing leaves your browser.

How it works

  1. Paste text that contains numbers
  2. Choose decimals, negatives and commas
  3. Copy the numbers or read the sum

How numbers are read

A number is a run of the digits 0 to 9, with an optional decimal part and an optional minus sign. Each one is listed exactly as written, so 1,234.50 stays 1,234.50 in the result, while the sum and the other counts use its value, 1234.5. Digits inside words count: abc123 gives 123. Digits from other scripts, such as Arabic-Indic numerals, are not read. Scientific notation such as 1e5 is not understood: it gives 1 and 5. A leading plus sign is ignored.

Commas and decimal points

The decimal separator is always the dot. With Treat comma as thousands separator on, a comma between groups of exactly three digits belongs to the number: 1,234.5 is one number, 1234.5, and 12,345,678 is one number. A comma in any other place ends the number, so 12,34 gives 12 and 34, and 1,2345 gives 1 and 2345. The European style 1.234,5 is not supported: it is read as 1.234 and 5. With the option off, every comma ends a number, so 1,234.5 gives 1 and 234.5. With Allow decimals off, the dot ends a number too, so 3.14 gives 3 and 14. A dot with digits after it and none before, as in .5, is a number when decimals are on, but in a version like 1.2.3 you get 1.2 and 3.

Negatives and the statistics

With Allow negatives on, a minus sign (hyphen or the true minus sign) directly before a number makes it negative, but only when the character before the minus is not a letter or digit. That keeps dates and ranges sensible: 2026-10-09 gives 2026, 10 and 09, and 5-3 gives 5 and 3, while (-4.5) and a space before -20 give negatives. Turn it off and every sign is ignored. The result shows how many numbers were found, their sum, the smallest and the largest. Sums are rounded to about 15 significant digits so 0.1 and 0.2 add up to 0.3. A number too long to be exact, with more than about 308 digits, is listed but left out of the statistics. With no numbers, the statistics show a dash.

Privacy and limits

Everything runs in this tab and the text is not uploaded or stored. Only your three choices are remembered. Text up to 1,000,000 characters is handled. Numbers that are part of phone numbers, dates or codes are found like any others, so check the list when the text mixes kinds of numbers.

Frequently asked questions

How is 1,234.5 read?

With Treat comma as thousands separator on, which is the default, it is one number: 1234.5. With the option off it becomes two numbers, 1 and 234.5.

How is 1.234,5 read?

As 1.234 and 5. The dot is always the decimal point, and a comma followed by fewer than three digits ends the number. Replace the separators first if your text uses the European style.

Why does a date like 2026-10-09 give three positive numbers?

A minus sign counts only when no letter or digit comes right before it. In a date the hyphen follows a digit, so it is treated as a separator and you get 2026, 10 and 09.

Can I add up prices or quantities pasted from a document?

Yes, the sum is shown under the count. Currency signs and units are ignored, but so is the context, so a text that also holds order numbers or years will add those in. Remove them first.

Does it find numbers written as words?

No. Only digits are found, so twenty is not listed and 20 is. Numbers with a unit, such as 5kg, give 5.