---
title: "URL Extractor - Extract Links From Text | CanDoYa"
description: "Free URL extractor to pull links from text, HTML, logs, or notes instantly. Remove duplicates, sort results, or list domains. No upload or sign-up."
url: https://candoya.com/tools/url-extractor/
locale: en
type: browser-tool
---

# URL Extractor From Text

Category: Text & Writing

## What is a URL extractor?

A URL extractor scans text or HTML and pulls each web address into a clean list, one link per line. It finds HTTP, HTTPS, FTP, www, and optional bare-domain forms, then lets you remove duplicates, sort the results, or return hostnames only. Everything runs locally in your browser.

Use the live results to clean links from notes, source code, crawl exports, emails, or application logs. The scanner decodes common HTML entities such as `&`, so a query string copied from an `href` keeps its real ampersands. It also removes sentence punctuation while preserving balanced parentheses that are part of a URL. No page is fetched, and no destination is checked: this tool only extracts addresses already present in the text you paste.

## How to use it

1. **Paste the source text** - Add plain text, HTML, logs, or notes containing one or more web addresses.
2. **Choose the matching rules** - Keep bare domains enabled for addresses without a scheme, or turn it off to require HTTP, HTTPS, FTP, or www.
3. **Clean the result** - Remove repeated URLs, sort the list alphabetically, or switch the output to unique domain names.
4. **Copy the list** - Copy the newline-separated output into a spreadsheet, editor, audit, or script.

## Who it's for

- **SEO and content teams** collecting outbound links from article drafts, crawl snippets, or pasted page source.
- **Developers and support teams** isolating endpoints, callback links, and documentation URLs from logs or bug reports.
- **Researchers and editors** turning citation-heavy notes into a deduplicated link list for review.
- **Data cleanup workflows** reducing mixed text to full URLs or unique domains before moving it into a spreadsheet.

## Expert note

A text scanner cannot resolve relative paths such as `/pricing` because they have no hostname. Paste an absolute form such as `https://example.com/pricing` when you need those paths included. Bare-domain matching deliberately ignores the domain portion of an email address, so `name@example.com` does not become a false URL.

## Frequently asked questions

### Is my text uploaded when I extract URLs?

No. Matching, cleanup, duplicate removal, sorting, and domain parsing all happen locally in your browser. The tool does not upload your text or request any of the links it finds, which makes it suitable for internal notes and logs that you do not want to send to another service.

### Is this URL extractor free?

Yes. The tool is free to use without an account, download, or usage meter. Paste your text, adjust the extraction options, and copy the result directly from the page.

### How much text can I process?

There is no fixed server-side limit because processing stays in your browser. Very large inputs still depend on your device memory and browser, but ordinary documents, HTML snippets, emails, and logs are handled live without a network round trip.

### Which URL formats does the extractor find?

It finds absolute HTTP, HTTPS, and FTP URLs, links beginning with `www.`, and bare domains such as `example.com/path` when that option is enabled. Paths, query strings, fragments, ports, and Unicode text in a valid URL are kept.

### Can it extract links from HTML source?

Yes. Paste raw HTML and the scanner finds absolute addresses inside attributes such as `href` and `src`. It treats HTML as text rather than loading or rendering it, and it decodes common HTML entities in captured query strings.

### Does it remove duplicate URLs?

Yes, by default. Duplicate matching uses a parsed form, so host capitalization and standard URL normalization do not create extra rows. Turn off Remove duplicates when repeated appearances matter and you need the list to preserve every match in source order.

### Why are relative links not extracted?

A relative path such as `/help` needs a base website before it becomes a complete URL. Since pasted text does not provide a reliable base address, the extractor skips relative paths instead of guessing the wrong domain.

## Related tools

- [URL Parser](https://candoya.com/tools/url-parser/)
- [URL Encode and Decode](https://candoya.com/tools/url-encode-decode/)
- [Remove Duplicate Lines](https://candoya.com/tools/remove-duplicate-lines/)
- [Text Diff Checker](https://candoya.com/tools/text-diff/)
- [Word Counter](https://candoya.com/tools/word-counter/)

---

*Markdown edition of <https://candoya.com/tools/url-extractor/>, published for AI agents and other automated readers. Index of key pages: <https://candoya.com/llms.txt>.*
