Skip to main content

Extract URLs from Text – Free Online Link Extractor

Extract URLs and links from any text online for free. Auto-detects http/https links, deduplicates, and exports.

Written & reviewed by Helperzy Editorial Team · Updated July 2026

Auto-DetectDeduplicateDomains OnlyDownloadFree

Paste Text

Extracted URLs (0)

Extracted URLs will appear here...

100% Private

URL extraction happens locally. No data sent anywhere.

How to Use Extract URLs

1

Paste Text

Drop in the notes, article body, email thread or chat export you want scanned. Paste the whole thing at once so no link is split across a boundary and missed.

2

Extract

Every http and https link is detected with its path, query string and fragment intact, then trailing punctuation is trimmed and duplicates removed. Switch on domains-only to see sources instead of pages.

3

Export

Copy the list or download it as a text file for your bibliography, audit sheet or reference document. Inspect any link from an unknown source rather than clicking it straight away.

What a URL Extractor Does and How Links Are Detected

This reads a block of text and lists every web link inside it. The job it replaces is genuinely tedious: scrolling through research notes, a long email thread or a chat export and copying links one at a time, usually missing two. Researchers use it to gather source URLs for a bibliography. SEO auditors use it to see every outbound link in an article body pasted from a CMS. Community managers use it on a chat log to review what members shared. Anyone building a reference list for a report gets the whole set in one pass, deduplicated and clickable so a quick check is easy. Detection is pattern-based. The matcher looks for a scheme of http or https, followed by a host, then optionally a path, a query string beginning with a question mark, and a fragment beginning with a hash. That means a long tracking URL with six parameters is captured intact rather than truncated at the first ampersand. Two clean-up steps run afterwards. Trailing punctuation is stripped, because a link written at the end of a sentence picks up the full stop and a link inside brackets picks up the closing bracket, neither of which belongs to the address. Then duplicates are removed. There is also a domains-only mode that reduces each result to its host, which is how you see that eleven of your seventeen links point at the same site. A worked run. Paste this: See https://helperzy.com/word-counter/ and https://example.org/docs?page=2&sort=asc (updated). Full list: https://helperzy.com/word-counter/. The matcher finds three URLs. The closing bracket after asc is trimmed, and the final full stop after the third link is trimmed too. Lowercased comparison then shows the third link repeats the first, so it is dropped, leaving two unique URLs. Switch on domains-only and those two collapse to helperzy.com and example.org, which is the view you want when the question is which sites are cited rather than which pages. Specific situations. A postgraduate student assembling a literature review extracts 40 source links from a semester of scattered notes. A content auditor pastes an article body and counts outbound links per domain to check no single partner is over-represented. A teacher reviewing a class discussion board collects every shared link before approving the thread. A marketer auditing an email newsletter pulls all tracked URLs to confirm every campaign parameter was tagged correctly. A security-conscious admin extracts links from a suspicious forwarded message to inspect the destinations without clicking any of them. A podcast producer collects every link mentioned across an hour-long transcript to assemble the show notes, and the domains-only view immediately shows which sponsor was cited most across the episode. A grant writer verifying a funding application collects the reference URLs from a draft so each citation can be checked against the original page before submission. Use domains-only whenever the question is about sources rather than specific pages — it turns a wall of long URLs into a short, countable list. The limitation to keep front of mind is that this reports links exactly as written and knows nothing about them beyond that. It cannot tell you whether a URL is live, whether it still points where the surrounding text claims, or whether it is safe. Extracted links from an unknown source should be inspected, not clicked, and a shortened link hides its real destination entirely. Links written without a scheme, such as a bare www address, may also be missed since the pattern anchors on http or https, so add the scheme yourself before pasting if your source writes links that way. Scanning runs in your browser, so the text you paste is never uploaded, stored or logged.

Example: Extract URLs

Input

See https://helperzy.com/word-counter/ and https://example.org/docs?page=2&sort=asc (updated). Full list: https://helperzy.com/word-counter/.

Result

2 unique URLs: https://helperzy.com/word-counter/ and https://example.org/docs?page=2&sort=asc · Domains only: helperzy.com, example.org

Three links are matched with their query strings intact, the closing bracket and final full stop are trimmed as trailing punctuation, and the third link duplicates the first so it is dropped.

Frequently Asked Questions – Extract URLs

It finds web addresses starting with http:// or https://, and it correctly handles complex URLs that include paths, query parameters, and fragment identifiers. Links embedded within surrounding sentences or pasted content are detected too, so you capture every address in the text.