How to use Extract Numbers from Text
- Paste the text that contains numbers.
- Choose the number format. Leave it as it is for 1,234.56 or turn on "Decimal comma" for 1.234,56 and 3,14.
- Turn on the options you need, remove duplicates, sort ascending or plain numbers.
- Read the list, the count and the sum, then copy the result.
Features
- Finds whole numbers, decimals and negative numbers
- Two formats, comma thousands with dot decimal, or decimal comma
- Option to remove duplicates
- Option to sort ascending
- Option for plain output, without thousands separators and with a dot as the decimal
- Shows one number per line, the count and the sum
- No daily limit, and the text stays in your browser
Supported formats and limits
- Maximum input: 5,000,000 characters
Examples
| Input | Result |
|---|---|
| Order 12 cost 3.5 EUR, refund -2, total 1,234.50 | 12 3.5 -2 1,234.50 (count 4, sum 1248) — With plain output the last number is written as 1234.5. Sum check, 12 + 3.5 - 2 + 1234.5 = 1248. |
| Date 2026-10-01 | 2026 10 01 — A minus sign counts only at the start of the text or after a space or bracket, so the hyphens in a date are not read as negatives. |
Limitations
- Numbers written as words, such as "twenty", are not found.
- Fractions such as 1/2 and scientific notation such as 1e5 are not read as single numbers.
- Digits inside words are still found, so "A4" gives 4.
- Phone numbers and dates are split into separate numbers at spaces, hyphens and slashes.
- You must pick the right format, because "1,234" means one thousand two hundred thirty-four in English mode and 1.234 in decimal comma mode.
Learn more
Numbers turn up inside invoices, reports, log files, chat messages and scraped web text, and copying them one by one is slow. An extractor scans the text for digit patterns and returns them as a clean list that you can total, sort or paste into a spreadsheet.
The hard part is the notation. English writes one thousand two hundred thirty-four and fifty cents as 1,234.50, while Spanish and many other languages write 1.234,50. The same characters mean opposite things, so the tool asks you which convention your text uses instead of guessing. Dates, phone numbers and codes also contain digits, so check that the list contains only the values you wanted.
The sum and the count are there to help you verify a list against a document. Use the plain number output when you plan to paste the values into a calculator or a data tool.
Frequently asked questions
How do I extract numbers from a text?
Paste the text into the box. The tool lists every number it finds, one per line, with the count and the sum.
Does it handle decimals and negative numbers?
Yes. Decimals such as 3.5 and negatives such as -2 are found. A minus sign counts only at the start or after a space or bracket.
How do I read numbers like 1.234,56?
Turn on "Decimal comma". The tool then reads the dot as a thousands separator and the comma as the decimal mark, as in Spanish and most European formats.
Can I get the numbers without thousands separators?
Yes. Turn on plain numbers and 1,234.50 is written as 1234.5, which spreadsheets and scripts can read directly.
Last reviewed: October 1, 2026