How to use
Paste the source text
Paste a report, invoice, log or table into the Input pane, or press Open file for a .txt, .csv, .docx or .pdf. Every number appears in the output as you paste. Try sample loads an invoice with prices, a percentage and a phone number.
Choose the options
Pick the Number format that matches your text. Tick Whole numbers only to skip decimals, Ignore minus signs, or Remove duplicates, and choose a Sort order such as low to high.
Copy, download or read the stats
Copy the list, pick a separator such as Comma or Tab, or download .txt or .csv. The stats row shows count, sum, average, median, min and max for the numbers currently listed.
Why Extract Numbers from Text
- Pulls every number out of text, with decimals and minus signs.
- Reads 1,234 and Indian 1,23,456 style numbers as one value.
- Count, sum, average, median, min and max of the extracted numbers.
- European 1.234,56 format, dedupe, sort, whole numbers only and CSV download.
Worked example: an invoice with prices, dates and a phone number
The Try sample text is: Invoice 2024-117: 3 chairs at Rs 4,500 each, 1 desk at Rs 1,23,450 and delivery of $1,299.99. Discount -15.5% applied. Temperature dropped to -4 degrees. Call 98765 43210.
With the default options, the tool returns 11 numbers in this order: 2024, 117, 3, 4500, 1, 123450, 1299.99, -15.5, -4, 98765, 43210. The invoice number splits at the hyphen, the Indian-format price stays whole, and the phone number splits at the space.
The stats row shows a sum of 273,350.49, an average of 24,850.04, a minimum of -15.5 and a maximum of 123,450. In a real job you would delete the invoice number and phone number from the input first, so the sum covers only the prices.
How numbers are recognised
The rules below decide where one number ends and the next begins. They are designed for English and Indian number formats, where a comma groups digits and a dot marks decimals.
If your text uses a dot for thousands and a comma for decimals, choose the European number format. Numbers are written without separators in the output so spreadsheets read them as values.
| In your text | Extracted | Why |
|---|---|---|
| 1,234,567 | 1234567 | Groups of three after a comma are one number |
| 1,23,45,678 | 12345678 | Indian lakh and crore grouping is recognised |
| 1,2,3 | 1 / 2 / 3 | Not a valid grouping, so each is separate |
| -15.5% | -15.5 | Minus after a space is kept, % is dropped |
| 2024-07-02 | 2024 / 07 / 02 | A dash after a digit is a hyphen |
| COVID-19 | 19 | A dash after a letter is a hyphen |
| $1,299.99 | 1299.99 | Currency symbols are dropped |
| 98765 43210 | 98765 / 43210 | A space ends a number |