Skip to main content

Number Extractor — pull every number out of text

Pull every number out of any text: integers, decimals, negatives, 1,234 commas, percents and 6.02e23, with instant sum and average

  • Runs locally
  • Category Text
  • Best for Removing repetitive cleanup work from everyday writing and operations.
What counts as a number
Output
Count
5
Sum
300001225.36
Average
60000245.072
Min
-7
Max
300000000

What this tool does

Number Extractor scans a block of text and pulls out every number it contains: plain integers, decimals like 3.14, negative values, figures with thousands separators such as 1,234.56, scientific notation like 6.02e23, and percentages where 25% comes back as 25. Four toggles let you decide what actually counts, so an inventory list of whole counts ignores stray decimals while a finance export keeps every cent. The numbers come out one per line or comma separated, ready to paste into a spreadsheet, and you can deduplicate them, sort ascending, or read the running count, sum, average, min and max without opening a calculator. It is the fast way to turn a messy log line, an invoice, a chat transcript or a pasted CSV column into a clean list of values. Everything runs in your browser tab with no upload, and the input round-trips through a shareable link.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Text · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Number Extractor fits into your work

Use it to clean, compare, reshape, or extract plain text before it goes into a document, CMS, spreadsheet, or prompt.

Text jobs

  • Removing repetitive cleanup work from everyday writing and operations.
  • Making text easier to compare, paste, publish, or feed into another tool.
  • Working with content locally when the text is private or unfinished.

Text checks

  • Scan for unintended whitespace, duplicate lines, and lost punctuation.
  • For long text, test the first few lines before applying the whole change.
  • Copy the final output only after checking the preview.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Word Counter Count words, characters, sentences, paragraphs and reading time in any text — instant, browser-only Open
  2. 2 Text Sorter Sort lines alphabetically, numerically, by length, or reverse — case-sensitive optional — browser-only Open
  3. 3 URL Extractor Extract, dedupe, and export urls from pasted text or uploaded local files. Open

Real-world use cases

  • Sum a pasted column without opening a spreadsheet

    You copied a list of line-item prices out of a PDF receipt or a chat message and just need the total. Paste the whole blob, let the tool keep the decimals and thousands commas, and read the sum and average off the stats row. No spreadsheet, no retyping, no risk of fat- fingering a 19.99 into 1999.

  • Lift numeric IDs out of a log line for a query

    A support log reads 'order 100482 for user 53109 failed retry 3'. Drop it in, turn decimals off so you only get the whole IDs, switch to comma separated output, and paste 100482, 53109, 3 straight into a SQL IN clause or a script. The line numbers and prose around the IDs never come along for the ride.

  • Clean a CSV column that mixes numbers and notes

    Someone handed you a column where each cell is something like '1,234.56 (approved)' or 'TBD'. Paste the column, keep thousands and decimals on, and you get a clean list of just the values, with the 'approved' and 'TBD' noise dropped. Dedupe and sort to spot the outliers before you import.

  • Pull percentages out of a report for a quick check

    A quarterly summary is full of figures like 'up 12.5%, churn -3.2%, margin 41%'. Paste it, leave negatives on, and the percent signs are stripped so you get 12.5, -3.2 and 41 as plain numbers you can average or chart. It is faster than hunting each figure by eye when the prose buries them.

Common pitfalls

  • Leaving the thousands toggle on when commas are list separators, not grouping. In 'pick 1,2,3' the commas separate items, so with grouping on the tool still reads 1, 2, 3 correctly because 2 and 3 are not three-digit groups; but in 'codes 1,234,567' it collapses to one 1234567. If those were three separate codes, turn thousands off first.

  • Expecting decimals when the decimals toggle is off. With it off, 3.14 yields 3 and 14 as two numbers, not 3.14. If your output suddenly has twice as many values as you expected, check this toggle before assuming the parser is wrong.

  • Forgetting that percent signs are dropped, not divided. 25% comes back as 25, not 0.25. The tool extracts the printed figure as-is; if you need the decimal fraction, divide by 100 yourself after copying.

Privacy

Every step runs as plain JavaScript inside your browser tab: the matching, the parsing, the dedupe, sort and the stats. The text you paste, the numbers pulled out and the totals never leave the page and nothing is logged. One caveat: the shareable link encodes your input text in the query string, so a link pasted into chat will record that text in the recipient server access log. For anything confidential, copy the output with the button instead of sharing the URL.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13