Number Extractor
Pull every number from your text in one click. Whether it's integers, decimals, negative values, or scientific notation, the tool grabs them all. Remove duplicates, sort by size, and export a clean list. No signup, no uploads — it all happens inside your browser.
Why use this number extractor?
Pulling numbers out of a messy document by hand is tedious. This tool instantly finds every integer, decimal, negative value, and even scientific notation — no matter how they're written. You can then deduplicate, sort by magnitude, and export the list. Because everything runs locally, your data never leaves your device.
- Smart detection – catches
42,-3.14,0.001,1.23e-4, and more. - Duplicate removal – keep only distinct numeric values.
- Numeric sorting – order smallest to largest or vice versa, or keep the original order.
- Instant, private – all processing is done in your browser; no data is ever uploaded.
How to extract numbers (step‑by‑step)
1. Paste your text
Drop any text — a report, email, log file, or data dump — into the left box.
2. Choose options
Toggle "Unique numbers only" and select a sort order. The default keeps the original sequence.
3. See the list
The extracted numbers appear instantly on the right, one per line.
4. Copy or download
Copy the list to your clipboard or save it as a text file, ready for spreadsheets or analysis.
Example: extracting numbers from a sentence
| Input text | Extracted numbers (unique, smallest first) |
|---|---|
| The temperature dropped from 23.5°C to -5.2°C in 3 hours. The distance is 1.5e3 km. | -5.2 3 23.5 1500 |
Common use cases
- Data cleaning: Pull numbers from survey responses or log files for statistical analysis.
- Financial reports: Quickly gather all dollar amounts, percentages, or figures from a lengthy document.
- Scientific data: Extract measured values from research papers or lab notes.
- Programming: Grab numeric constants from error messages or configuration files.
Pro tips
- Numbers with leading zeros (like
00123) are extracted as they appear; they're still valid numbers. - Scientific notation (e.g.,
2.5e-3) is automatically converted to its decimal form? No, we display the original string but sorting will treat them as numbers. - If you need to format the numbers further (e.g., add thousands separators), use our other tools after extraction.