Extract Numbers

Paste any text. Every number in it is listed one per line, exactly as written, ready to paste into a sheet.

How it works

A number is a run of digits, with commas between groups of three (1,234), an optional decimal part (1,234.50) and an optional exponent (2.5e3). It is listed as written, so 1,234.50 stays 1,234.50.

A minus or plus sign counts only when it does not follow a letter or digit. So "-3 items" gives -3, but "pages 10-20" gives 10 and 20, and "x-3" gives 3.

Currency symbols, percent signs and units are not part of the number: "$40" gives 40 and "15%" gives 15. By default each number is listed once; untick the box to keep every occurrence in order.

How to use it

  1. 1 Paste the text into the box: an invoice, a report, a chat or a page you copied.
  2. 2 Untick "List each one once" if you need every number in order, for example to add a column up.
  3. 3 Read the count, then press Copy list or download the list as a .txt file.
  4. 4 Paste the list into a spreadsheet. Each number lands in its own row.

Good to know

  • Spreadsheets read 1,234.50 as a number in English settings. In settings that use a comma for decimals, replace the commas first.
  • Digits inside words are still found: "item 7a" gives 7 and "3rd" gives 3. Delete those from the list if you do not need them.
  • For prices only, run the text through Find and Replace first to keep just the lines you want.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Pulling the amounts out of a pasted invoice

Invoices, bank statements and reports often reach you as text that is hard to put into a sheet: a PDF copied as paragraphs, an email with figures in sentences, or a chat where someone listed costs. The numbers are there, but each sits between words. Paste the text into the box and every number comes out on its own line.

Here is a small example. The text "Paid $1,234.50 for 3 items, pages 10-20." gives four numbers: 1,234.50, 3, 10 and 20. The dollar sign is not part of the number. The thousands comma stays, so the value reads the way it did in the text. And "10-20" is two numbers, because a hyphen straight after a digit is a range, not a minus sign.

The "List each one once" box changes what the list is for. Ticked, it answers "which values appear here?", and a figure that turns up three times is listed once. Unticked, it answers "what are all the figures, in order?", which is what you want when you plan to add them up or check them line by line against another document.

Some shapes are worth knowing about. Scientific notation such as 2.5e3 is kept whole. A version number such as 1.2.3 gives 1.2 and then stops, because a number has only one decimal point. Digits that are part of a word, such as 3rd or 7a, give 3 and 7. Spaces split numbers, so "1 234 567", written with spaces as thousands separators, gives three numbers.

The main limit is the decimal mark. The tool follows the English convention, with a dot for decimals and commas for thousands. Text written the other way, such as 1.234,50, is read wrongly, and a number such as 12,34 gives only 12. A number that starts with a bare decimal point, such as .5, is not found. Fractions such as 1/2 come out as two numbers. If your text uses another convention, fix the separators first, then extract.

Frequently asked questions

Why are repeats left out by default?

Most people want to see which values appear. When the numbers are amounts to add up, every occurrence matters, so untick "List each one once" and the list keeps them all in the order they appear.

Does it read 1.234,50 the European way?

No. It reads a dot as the decimal point and a comma as a thousands separator, the English convention. 1.234,50 comes out as 1.234, which is wrong for that text. Swap the dots and commas with Find and Replace first.

Why is "10-20" two numbers and not 10 and -20?

A hyphen straight after a digit is almost always a range or a separator, not a minus sign. A minus sign counts only where nothing but a space or punctuation comes before it.

Is my text uploaded?

No. The scan runs in your browser, in a background worker, and nothing is sent anywhere.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.