← All tools/Utilities/Text/Extract Numbers from Text
Extract Numbers from Text
Paste messy text in and pull every number out — with the count, the total and the average. Nothing leaves your browser.
Invoices, logs, chats — anything with numbers in it.
Numbers found
12, 3.5, 450
How it works
A regex finds integers, decimals, negatives and scientific notation Sum and average are computed over the matches
“Order 12 apples, 3.5 kg, total ₹450” gives three numbers: 12, 3.5 and 450. The count is 3, the sum is 465.5 and the average is 465.5 ÷ 3 = 155.17.
Frequently asked questions
What counts as a number?
Integers, decimals, negatives and scientific notation, such as 12, 3.5, −7 and 1.2e3. Currency symbols and units around a number are ignored.
What happens if I switch decimals off?
Then 3.5 is read as two separate numbers, 3 and 5. Leave decimals on unless you only want whole numbers.
Why is the average sometimes a long decimal?
The average is the sum divided by the count, shown to two decimals. 465.5 ÷ 3 is 155.166…, shown as 155.17.
Is my text uploaded anywhere?
No. The extraction runs entirely in your browser — paste in private logs or invoices and nothing leaves the page.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.