Skip to content
HandfulTools

Extract Numbers from Text

Paste an invoice, bank statement, report or chat and get every number it contains, plus instant sum, average, minimum and maximum. Supports both 1,234.56 and 1 234,56 number formats.

Runs in your browser

Loading…

How to use

  1. Paste the text.
  2. Tell the tool whether decimals use a point or a comma.
  3. Copy the numbers or read the totals.

How it works

In “point” mode, commas are treated as thousands separators (1,234.5 = 1234.5). In “comma” mode, spaces, non-breaking spaces and points are thousands separators and the comma is the decimal mark (1 234,5 or 1.234,5 = 1234.5), which is the convention in France, Germany, Morocco and much of the world.

A minus sign directly before a number makes it negative.

Examples

Expenses
“Taxi 23.50, lunch 18, hotel 129.90” → 23.5, 18, 129.9 — sum 171.4.

Common uses

  • Totalling amounts from an email or statement
  • Getting measurements out of a report
  • Converting a pasted table into a column of numbers

Privacy & security

This tool runs entirely in your browser. Your files and text are never uploaded to our servers — processing happens on your device and results are created locally. How each tool handles files

Frequently asked questions

Are dates and phone numbers extracted too?

Yes, digits in dates and phone numbers are numbers too. Remove those lines first if you only want amounts.

How precise is the sum?

Sums use double-precision arithmetic; results are displayed with up to 6 decimals.

Last updated: