# Extract or Remove Numbers > Extract or remove numbers from each row. Extract digits from lines as comma-separated groups, or retain text before the first number in each row. **Extract or remove numbers** using two distinct row-based operations. Extract digit groups for a quick list, or keep only the text that appears before the first digit in each row. ## Overview & Metadata - **Canonical URL:** https://million.tools/extract-numbers-from-list/ - **Markdown Copy (.md.txt):** https://million.tools/extract-numbers-from-list.md.txt - **Plain Text Copy (.txt):** https://million.tools/extract-numbers-from-list.txt - **API Endpoint:** https://million.tools/api/v1/run/extract-numbers-from-list (POST, Keyless, 60 req/min) - **SEO Title:** Extract or Remove Numbers Online | List Number Extractor - **Alternative Names:** List Number Extractor, Extract Digits or Keep Text Prefixes, extract numbers from text, number extractor, extract digit groups, extract digits from lines - **Category:** [Transferring](https://million.tools/transferring/) - **Application Category:** `UtilitiesApplication` - **Platform:** Web (All modern desktop and mobile browsers, requires JavaScript) - **Price:** Free ($0.00 USD, no registration or sign-up required) - **Live Calculation:** Supported (`Auto / Live` toggle enabled by default) - **Usage Statistics:** 7 uses · 513 views - **Published:** 2026-10-30 - **Last Updated:** 2026-10-30 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Extract ASCII digit groups from each row - Join extracted groups with a comma and space - Alternatively retain text before the first digit - Display the output row count - Copy each result output - Clear text fields without resetting options ## Parameters & Interface Controls ### Input Parameters & Options - `input_text`: Insert list. - `mode`: `Extract numbers from list` | `Remove numbers from list` ### Output Fields & Metrics - `result`: Result. - **Metric:** `Number of rows` - **Controls:** `Execute`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Settings:** - Mode: `Extract numbers from list` **Insert list:** ```text A-12.5 B3 none C20 ``` **Result:** ```text 12, 5, 3 20 ``` - **Number of rows:** `2` ## How to use Extract or Remove Numbers Choose between collecting digit groups and keeping the text before the first digit. ### List Number Extractor 1. **Enter the source:** Paste the source rows into *Insert list*. Keep related text and numbers on the same row. 2. **Choose the settings:** Under *Mode*, choose *Extract numbers from list* to collect digit groups. Choose *Remove numbers from list* to keep the trimmed text before the first digit. 3. **Run the tool:** Click *Execute* to process the current input. 4. **Review the output:** Read *Result* and *Number of rows*. Extraction omits rows without digits; the removal mode returns a text prefix for every source row. 5. **Copy or clear:** Click *Copy* under the output you want to keep. Use *Clear* where shown to clear the text fields; option selections stay as set. For `Order 12 item 34`, Extract numbers from list returns `12, 34`. Remove numbers from list returns `Order`, rather than keeping all the nonnumeric words. ### Digit groups are not full numeric values Extraction recognizes groups of digits 0 through 9. Signs and decimal separators are not part of a group, so `-12.5` becomes `12, 5`. ### Removal stops at the first digit Remove numbers from list discards the first digit and everything after it. It is useful for text prefixes, but does not remove digits while preserving all later text. ### Keep the text before the first number Select *Remove numbers from list* under *Mode* and click *Execute*. Review the trimmed prefixes in *Result*; content after the first digit is discarded. ## Frequently asked questions ### Does extraction preserve minus signs or decimal points? No. It extracts digit groups, not signed decimal values. For example, -12.5 is returned as 12, 5. ### What happens to rows without digits? Extraction leaves those rows out of the result. In removal mode their trimmed text remains. ### Does Remove numbers from list keep words after the number? No. It keeps only the trimmed text before the first digit, dropping the rest of that row. ### How are several numbers in one row separated? Digit groups from the same row are joined with a comma and a space in the output row. ### Is this a column sum calculator? No. The output is extracted text. It does not add the digit groups or calculate totals. ## Related Tools - [Transform Text to Uppercase](https://million.tools/convert-to-uppercase/): Transform text to uppercase with an uppercase converter. Capitalize each word or row, convert all letters to capitals, or generate random case text. - [Find and Replace Words](https://million.tools/find-and-replace-text/): Find and replace words with bulk text replacement. Replace multiple words using one shared replacement or paired rows, with optional case sensitivity. - [Add a Prefix or Postfix](https://million.tools/add-prefix-suffix/): Add a prefix or postfix to each row. Add prefix to lines or add suffix to lines, review the result, and copy the updated list. - [Transform Text to Lowercase](https://million.tools/convert-to-lowercase/): Transform text to lowercase with a lowercase converter. Convert text to lowercase completely, or lowercase randomly selected letters while keeping the rest. - [Backward Text (Flipping)](https://million.tools/flip-text/): Create backward text with a text reverser. Reverse characters in each line and compare the backward text with a separate flipped text variant. ## About the Author **Egor Volchenko** — *Developer & Author* Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience. - **Links:** [x.com](https://x.com/egorleet) · [github.com](https://github.com/egorleet) · [t.me](https://t.me/egorleet) · [instagram.com](https://www.instagram.com/egorleet) · [facebook.com](https://www.facebook.com/egorleet/) · [egorleet.blog](https://egorleet.blog/) · [mastodon.social](https://mastodon.social/@egorleet) · [twitch.tv](https://www.twitch.tv/egorvolchenko) · [stackoverflow.com](https://stackoverflow.com/users/31679135/egor-volchenko) · [reddit.com](https://www.reddit.com/user/Vegetable_Window9185/) · [youtube.com](https://youtube.com/@egor-volchenko)