# Extract URLs or Domain Names > Extract URLs from pasted text with a URL extractor. Extract domain names instead of full addresses, keep source order, and copy the resulting list. **Extract URLs** and website addresses from pasted text, or return just their domain names. Use the URL extractor to turn notes and copied passages into a list of links for review. ## Overview & Metadata - **Canonical URL:** https://million.tools/extract-urls/ - **Markdown Copy (.md.txt):** https://million.tools/extract-urls.md.txt - **Plain Text Copy (.txt):** https://million.tools/extract-urls.txt - **API Endpoint:** https://million.tools/api/v1/run/extract-urls (POST, Keyless, 60 req/min) - **SEO Title:** Extract URLs Online | URL and Domain Extractor - **Alternative Names:** URL and Domain Extractor, Extract Links from Text, URL extractor, domain extractor, extract domain names - **Category:** [Domains](https://million.tools/domains/) - **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:** 6 uses · 523 views - **Published:** 2026-10-30 - **Last Updated:** 2026-10-30 - **Author:** Egor Volchenko (Developer & Author) ## Key Features - Extract full website addresses or hostnames - Retain subdomains in hostname output - Keep matches in source order - Display the extracted row count - Copy each result output - Clear text fields without resetting options ## Parameters & Interface Controls ### Input Parameters & Options - `input_text`: Insert text. - `domain_only`: Boolean. Look only for domains. ### Output Fields & Metrics - `result`: Result. - **Metric:** `Number of rows` - **Controls:** `Extract`, `Clear`, `Copy`, `Fill test data`, `Auto / Live` ## Interactive Example (Test Vector) **Settings:** - Look only for domains: `Enabled` **Insert text:** ```text Visit https://example.com/path. Also www.million.tools/docs; email a@private.test ``` **Result:** ```text example.com www.million.tools ``` - **Number of rows:** `2` ## How to use Extract URLs or Domain Names Paste the surrounding text as well as the addresses; the output isolates the recognized matches. ### URL and Domain Extractor 1. **Enter the source:** Paste the source material into *Insert text*. It can contain surrounding prose as well as website addresses. 2. **Choose the settings:** Leave *Look only for domains* off to retain full matched addresses. Select it to return the hostname without the scheme, path, query, or port. 3. **Run the tool:** Click *Extract* to process the current input. 4. **Review the output:** Read *Result* and *Number of rows*. The extracted entries follow their order in the source; repeated addresses can remain repeated. 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 a source containing the bare address `example.test/docs`, normal mode returns that address. Look only for domains returns `example.test`. ### Extraction does not check website availability The tool recognizes address-like text and validates candidate syntax. It does not visit the extracted websites or establish that their pages exist. ### A hostname is not always a registered base domain Domain-only output retains subdomains. For example, `shop.example.test` stays `shop.example.test`; it is not reduced to `example.test`. ### Return domain names only Select *Look only for domains*, then click *Extract*. Review the hostname list in *Result*; subdomains remain and repeated matches are not deduplicated. ## Frequently asked questions ### Can I extract domain names instead of complete URLs? Yes. Select Look only for domains to return hostnames without paths, queries, ports, or schemes. ### Does domain mode remove subdomains? No. Subdomains are retained. A hostname such as shop.example.test is returned as that hostname. ### Are repeated links removed? No. Matches are returned in source order, including repeated occurrences. Deduplicate the extracted list separately if needed. ### Does extracting a URL confirm that it works? No. Syntax recognition does not check whether a server responds or a page is available. ### Does it extract email addresses too? This is a website-address extractor. Email addresses are not an additional output format, and domains inside email addresses are excluded from bare-domain matching. ## Related Tools - [Apple and Google Domains](https://million.tools/apple-google-recognized/): This list lets you check and compare domain support in Apple devices and Google ecosystems ## 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)