NUMBER EXTRACTOR
Pull every number out of pasted text, with a running sum. Nothing leaves your browser.
In short
Paste any text and pull out every number it contains — integers, decimals, and negatives — with a running sum, output one per line or comma separated. Runs entirely in your browser.
Numbers found: 6Sum: 1086.55
How to extract numbers
- 1
Paste text, a report, or a data dump into the input box.
- 2
Choose whether the extracted numbers should be listed one per line or comma separated.
- 3
Copy the extracted numbers from the output box, and check the count and sum in the stats bar.
Questions
- What counts as a number?
- The tool matches integers and decimals, including negative values, such as 42, -7, and 3.14. It doesn't currently parse thousands separators like commas inside a number (e.g. "1,000" is read as 1 and 000) or scientific notation.
- How is the sum calculated?
- Every matched number is parsed and added together in the order it appears in your text, then rounded to six decimal places to avoid floating-point noise. The sum updates live as your input or output format changes.
- What's the difference between the two output formats?
- "One per line" lists each number on its own line, which is handy for pasting into a spreadsheet column. "Comma separated" puts them all on one line separated by commas, which is handy for pasting into code or a CSV cell.
- Is my text uploaded anywhere?
- No. Everything runs locally in your browser with JavaScript — your text is never sent to a server.
Related tools
- URL ExtractorPull every URL out of pasted text, deduplicated and one per line.
- Email ExtractorPull every email address out of pasted text, deduplicated and one per line.
- Text CleanerTrim lines, collapse spaces, strip HTML tags, punctuation, or numbers in one pass.
- Find & Replace ToolFind and replace text, with case sensitivity, regex, and replace-first-only options.
- Text Diff CheckerCompare two blocks of text line by line and see what was added, removed, or unchanged.
- Remove Line BreaksJoin multi-line text into one block, replacing line breaks with a space or nothing.
- Remove Extra SpacesCollapse repeated spaces and tabs into one, with options to trim lines and drop empty ones.
- Add Prefix to LinesAdd a prefix, suffix, or running number to every line of text.
Updated