Extract numbers from text

Pull every number out of a report, invoice or page of text, with thousands separators read correctly and an option for decimal commas. Nothing is uploaded.

How to extract numbers from text

  1. 1

    Paste a report, invoice or page of text

  2. 2

    Choose how decimals are written and how to list the numbers

  3. 3

    Extract and copy or download the list

The figures out of a document, ready for a spreadsheet

Figures often arrive buried in prose: totals in an email, amounts in a pasted statement, measurements in a report. This pulls every number out, one per line, so they can go into a spreadsheet, a calculator or a script.

What counts as a number

A number is a run of digits, with an optional minus or plus sign in front, an optional decimal part and an optional exponent such as 1.5e-3. A minus sign is read as part of a number only when it comes before it, not between two numbers, so a range such as 10-20 gives 10 and 20 rather than 10 and minus 20. Currency signs, percent signs and units are left behind, so $1,200.50 gives 1200.50 and 15kg gives 15.

Some digits are labels rather than amounts, and those are left out: digits joined to letters, such as A4, mp3 or a part number, and dotted runs such as a version 1.2.3, an IP address 192.168.1.1 or a date written 12.5.2026. A number that starts a word, as in 2nd, still counts.

Decimal point or decimal comma

1,234 means one thousand two hundred and thirty-four in some countries and one point two three four in others, and nothing in the text says which. So you choose. With the decimal point setting, a comma followed by exactly three digits is a thousands separator, and a comma followed by anything else separates two numbers, so 1,2,3 is three numbers. With the decimal comma setting, the full stop groups the thousands and the comma marks the decimals.

Listing them

Plain numbers drop the thousands separators and use a full stop for the decimal mark, which spreadsheets and programs read directly. Every digit is kept, so a long order number does not lose its last digits to rounding. As written keeps each number exactly as it appeared in the text. Duplicates can be removed, keeping the first, and the list can be sorted from smallest to largest.

For other things inside text, use Extract email addresses, Extract links or Extract phone numbers.

Nothing is uploaded. The numbers are found in this tab and are gone when you close it.

Everything you need

Separators read correctly

Thousands separators, decimal points or decimal commas, minus signs and exponents are read as parts of one number.

Labels left out

Codes such as A4 or mp3, version numbers, IP addresses and dotted dates are not mistaken for quantities.

Private by design

Invoices, statements and reports are read in your browser and never sent anywhere.

Nothing uploaded: open the Network panel while it runs and check.

No daily limits or watermarks: free batches take up to 20 images.

Works offline: once the page has loaded, on any current browser.

Frequently asked questions

Does 1,234 mean one thousand two hundred and thirty-four?

With the decimal point setting, yes. A comma followed by exactly three digits is read as a thousands separator. Choose the decimal comma setting for text written the European way, where 1.234,56 is one thousand two hundred and thirty-four and a bit.

Which numbers are left out?

Digits inside a word or code, such as A4 or mp3, and dotted runs such as a version number 1.2.3, an IP address or a date written 12.5.2026. Those are labels rather than quantities.

What does "as plain numbers" do?

It removes thousands separators, writes the decimal mark as a full stop and the minus as a plain hyphen, so the list pastes into a spreadsheet or a program as numbers. Every digit is kept as written.

Is my text uploaded?

No. The numbers are found in this browser tab, which matters when the text is an invoice, a bank statement or a salary list.

Related guides

Work with files privately and confidentlyPractical, sourced explanations for safer file conversion, sharing, and cleanup.