Pull every number out of any block of text
Extract all numbers — integers, decimals, and formatted amounts — from any block of text.
Interactive Sample Data
| id | raw_text |
|---|---|
| 1 | Invoice #1042 for KES 12,450.00 — discount 5.25% — due in 30 days. |
| 2 | Headcount: 42 people. Growth rate: 3.7%. Budget: KES 1,200,000. |
| 3 | No numbers here at all. |
How this tool works
Things that usually go wrong
- If the text mixes US and European number formats in the same block, specify one format explicitly in your instruction.
- IP addresses (192.168.1.1) will be extracted as four separate integers by default — add 'skip IP addresses' to exclude them.
- Dates like '2024-01-15' will be extracted as three integers (2024, 01, 15) unless you add 'skip dates'.
Edge cases we tested
Correctly interpreted when 'European format' or 'comma as decimal' is specified in the instruction.
Extracted as -1200.00 when 'accounting parentheses' is noted in the instruction.
Matched as a plain integer (2024) — no special year-exclusion by default.
Extracted as a sequence of digit tokens; use 'Extract Phone Numbers' for structured phone output.
Returns empty result with 'No numbers found.' message.
Frequently Asked Questions
Can I extract numbers and keep the surrounding currency label?
Yes — add 'with currency symbol' to your instruction and the engine prepends the immediately preceding symbol (KES, $, €) to each number.
Will it handle numbers in table cells inside a pasted HTML block?
Yes. HTML tags are stripped first, leaving plain text from which numbers are extracted.
What if I only want numbers greater than 1000?
Add 'greater than 1000 only' to your instruction and the engine filters the result set.
Can I get the numbers as a comma-separated list instead of one per line?
Add 'comma-separated' to your instruction — the output format changes accordingly.
Related tools
Extract Emails from Text
Extract all email addresses from any block of text or document paste.
Open Tool →Extract URLs from Text
Extract all URLs and hyperlinks from any block of text or document paste.
Open Tool →Fix Currency and Number Formats
Strip currency symbols ($ , € , £ , KES), resolve thousands commas, and format numbers into clean numeric decimals.
Open Tool →Convert Text to Numbers
Strip formatting from text-formatted number columns to produce clean numeric values.
Open Tool →