Extract Numbers from Text
Pull every number out of mixed text into a clean list, one per line.
Extract Numbers
What does this tool do?
This tool extracts all the numbers from mixed text, returning them as a clean list. Useful when amounts, IDs, or codes are buried inside words. It runs entirely in your browser.
How to use Extract Numbers from Text - Free Online Tool
- Paste your text, or click "Try with sample data".
- Choose whether to include decimals and negative signs.
- Click Extract Numbers.
- Copy or download the resulting list of numbers.
Example
Pulling amounts out of text:
Before
| Text |
| Invoice 302 total 1,250.50 due |
After
| Numbers |
| 302 |
| 1250.50 |
Numbers are extracted; surrounding words are dropped.
Excel formula alternative
Prefer a formula? You can achieve a similar result with TEXTJOIN + IFERROR:
complex array formula required
Extracting numbers in Excel needs long array formulas or VBA. This tool handles it instantly.