Extract Numbers from Text

Pull every number out of text — integers, decimals, percentages, currency amounts, including negatives. Useful for parsing reports, log files, scraped content. Optional deduplication and sorting.

How to use the Extract Numbers from Text

Paste text and the tool extracts the numeric values it finds — integers, decimals, signed numbers, percentages, and currency amounts. Toggle deduplication, numeric sorting, and whether a thousand-separated group like 1,234,567 is treated as one number.

Extracting every number from a block of text

Reports, logs, invoices, and scraped pages bury numbers inside prose. Copying them out by hand is slow and easy to get wrong, especially when currency symbols, percent signs, negatives, and thousands separators are all mixed together.

This scanner walks the text and returns the numeric values it finds, with options to keep thousand-separated groups intact, drop duplicates, and sort numerically rather than lexically. To spell a number out or parse a spelled-out one, see number to words and words to number; to reformat figures with locale separators or currency, the number format converter.

Common use cases

  • Report parsing — pull the figures out of a pasted financial summary.
  • Log analysis — collect latency values or error counts from log lines.
  • Data recovery — salvage numbers from a PDF copy-paste that lost its table structure.
  • Spot checks — list every percentage mentioned in a document.
  • Quick math prep — extract a column of values to total up elsewhere.

Frequently asked questions

Does it handle currency and percentages?

Yes. It recognizes amounts with a currency symbol and values with a percent sign, including negative numbers.

What happens to thousand separators?

Your choice — a toggle treats 1,234,567 as a single number or splits it on the commas.

Can it sort and deduplicate the results?

Yes, both are toggles. Sorting is numeric (by value), not lexical (by digit characters).

Are decimals preserved?

Yes. A value like 245.3 keeps its decimal point rather than being split into two integers.
Embed this tool on your site

Free to embed, no attribution required (but appreciated). Paste this where you want the tool to appear: