Extract Numbers from Text

Paste text with numbers mixed in — invoices, reports, logs — and get the numbers on their own, plus quick totals.

Input
Numbers
Ready

Pull numbers out of messy text

Copying figures out of an email, PDF or log file usually means copying a lot of words with them. This tool keeps only the numbers. Paste anything — an invoice, a bank statement, server logs, survey answers, a product description — and you get a clean list you can drop into a spreadsheet or calculator.

Below the output you also get the count, sum, average, minimum and maximum, so for quick checks you do not need a spreadsheet at all.

How different number formats are handled

In your textExtracted asOption
Order 44714471always
$12.9912.99Decimals on
discount -45.25-45.25Negatives on
1,250,0001250000"Read 1,250 as one number" on
2026-10-282026, 10, 28hyphens between digits are treated as separators, not minus signs

If your list uses commas as separators between values — for example 4,5,6 — switch off Read 1,250 as one number so each value is extracted on its own. Numbers written with a decimal comma (common in Europe, such as 12,50) are read as two numbers; run them through Find & Replace to swap commas for dots first.

Practical examples

All processing happens in your browser; nothing you paste is stored or sent anywhere.

Frequently asked questions

How do I paste the numbers into Excel or Google Sheets?
Keep "Separate with" on New line, copy the output and paste it into a cell. Each number lands in its own row of a single column.
Why is 2026-10-28 split into three numbers?
A hyphen directly between two digits is treated as a separator, not a minus sign, so dates and ranges such as 10-20 do not produce negative values.
Can I get only whole numbers?
Yes. Untick Decimals and the tool returns only the integer parts, so 12.99 becomes 12 and 99 is ignored.
Does it handle very large lists?
Yes. Thousands of numbers are extracted and summed instantly in your browser.

Related tools

Extract Emails, Extract URLs, Find & Replace, Sort Lines.