Number Extractor
Table of Contents
- Extract numbers from text or HTML — Number Extractor
- How to use
- What it extracts (formats)
- Locale & normalization
- Extraction toolbar — what you can do with results
- Examples (real-world)
- Behavior & limits
- Tips & workflows
- FAQ
- Will the extractor find phone numbers?
- Does the tool convert matches to numeric values (e.g., remove commas)?
- Can I extract only unique numbers?
- Does it support scientific notation and negatives?
- How do I handle locale-specific decimals (comma vs dot)?
- Related tools
The easiest way of extracting numbers from the document.
Extract numbers from text or HTML — Number Extractor
Extract numerical values from any text or HTML fast. This online number extractor finds integers, decimals, signed numbers, scientific notation, percentages and common currency formats and returns them as a clean list you can copy or append to the editor.
How to use
- Paste your text, HTML or CSV content into the editor.
- Open Extract → Numbers.
- Results appear in the Extraction toolbar; use Copy to clipboard, Paste to editor or Append to editor to continue your workflow. The original input is not modified.
What it extracts (formats)
The extractor matches a wide set of numeric patterns (returned as raw text matches):
- Integers (positive and negative): e.g.
123,-123 - Floats and decimals (various forms):
1.23,.5,1.,1,23 - Scientific notation:
1.23e4,-2E-3 - Percentages:
12%,12.5 % - Currencies (prefix or suffix, common spacing/thousands):
$12,€ 1 234,56,99 PLN,1,200.00 USD
Note: the tool is permissive in matching so it will capture numbers appearing in prose or inside simple HTML. For phone numbers use the dedicated Phone Number Extractor.
Locale & normalization
- Matching is permissive and recognizes both dot and comma decimal styles in input examples, but the tool does not convert or normalize values to a different numeric locale automatically.
- For US-style numeric processing, treat matches with comma thousands separators carefully; use a quick Find & Replace or the Pattern Extractor if you need normalized numeric values (e.g., remove thousands separators, convert commas to dots).
Extraction toolbar — what you can do with results
- Copy to clipboard — copy the extracted list (one item per line) and paste into spreadsheets or apps.
- Paste to editor — replace the editor contents with the extracted list for immediate editing.
- Append to editor — add the extracted values to the end of the current editor content (useful for building datasets).
- All results are returned as raw matches in the original order found; duplicates are preserved (use Remove → Duplicates to unique the list).
Examples (real-world)
Example A — mixed text
Input: Revenue: $1,234.50; growth +12.5% year-over-year. Temp dropped to -3.2°C. Scientific note: 1.2e3 units. Extracted: $1,234.50 12.5% -3.2 1.2e3
Example B — currency and locale variants
Input: Price list: € 1 234,56; 99 PLN; 1,200.00 USD; $12 Extracted: € 1 234,56 99 PLN 1,200.00 USD $12
Example C — CSV / HTML snippet
Input (CSV): id,qty,price A1,10,12.50 B2,5,1.200,00 Extracted: 10 12.50 5 1.200,00
Behavior & limits
- Matches are returned as-found (raw strings). If you require numeric normalization (strip thousands separators, standardize decimals), post-process with the Pattern Extractor or Find & Replace workflows.
- Numbers embedded inside words may be matched depending on surrounding characters. For strict token rules, run a regex in Pattern Extractor.
- Order is preserved and duplicates are not removed automatically (use Remove Duplicates if you want unique values).
- Input size: the tool handles as much text as your browser can process; very large files may be limited by client resources.
Tips & workflows
- Extract numbers from scraped HTML: run HTML Stripper → Extract → Numbers → Append to editor → Remove → Duplicates → Alphabetize List.
- Prepare numeric CSV: Extract → Numbers → Copy to clipboard → paste into spreadsheet and use spreadsheet functions to convert formats and normalize locales.
- To capture only currency amounts, run Extract → Numbers then filter with Filter a list (e.g., patterns containing currency symbols or currency codes).
- For complex or custom patterns (ordinals, ranges, or product codes), use the Pattern Extractor to write a tailored regex.
FAQ
Will the extractor find phone numbers?
General numeric substrings may include parts of phone numbers, but for accurate phone extraction use the dedicated Phone Number Extractor which applies phone-specific patterns and formatting rules.
Does the tool convert matches to numeric values (e.g., remove commas)?
No. Extracted values are returned as raw text matches. If you need numeric normalization (remove thousands separators, convert comma decimals to dot), apply post-processing with Find & Replace or a Pattern Extractor workflow.
Can I extract only unique numbers?
Yes — extract first, then run Remove Duplicates or pipe results into other cleanup tools in the editor.
Does it support scientific notation and negatives?
Yes — the extractor recognizes scientific notation (e.g., 1.23e4) and signed numbers (e.g., -123).
How do I handle locale-specific decimals (comma vs dot)?
The extractor will match both styles in permissive cases, but it does not normalize them. For consistent numeric processing, normalize separators with a Find & Replace or use the Pattern Extractor to convert comma decimals to dot before numeric aggregation.
Related tools
- Phone Number Extractor — phone-specific patterns and formatting.
- Pattern Extractor — write custom regex to extract exact numeric patterns.
- Remove Duplicates — make the list unique after extraction.
- HTML Stripper — remove tags before extracting numbers from HTML content.
- CSV → JSON Converter — for structured numeric data after extraction.