Skip to content

URL Extractor: Harvest Every Link

Runs 100% in your browser — your text never leaves this page, and nothing is uploaded or stored.

This url extractor harvests every http, https and www. link from a document into a clean list — duplicates removed, sorted A–Z, one per line. Use it to extract links from text and get all urls from a page into one clean list — http, https and bare www. addresses recognised, duplicates removed, sorted A–Z.

How to use the URL Extractor

  1. Paste your document, source or export into the box — or press Load sample to harvest the example paragraph.
  2. Leave Remove duplicates and Sort A–Z ticked for a clean inventory, or untick either for the raw list.
  3. Read the links in the result box, one per line — the note reports how many URLs were extracted.
  4. Copy the list into your spreadsheet, checker or migration plan.

About this tool

Links scatter through everything: source code, chat exports, spreadsheets, research notes. Collecting them by eye means missing some and copying punctuation that breaks them. This tool finds every URL in a paste and hands you the inventory — cleaned, counted and ready to use. Recognition is deliberately strict. A link must begin with http://, https:// or www. — a bare domain like example.com on its own is not counted, because in ordinary prose it is indistinguishable from a filename or an abbreviation. Once a link is captured, the punctuation a sentence glued to its end — full stops, commas, closing brackets — is trimmed away, so the link you copy is the link that works. Duplicates are removed by exact text: the same address pasted three times appears once, while a version carrying a different query string counts as the different address it is. Sorting is a plain A–Z of the addresses as written. Turn either option off if you need the raw harvest in document order, duplicates and all. It is the quick way to audit a page’s outgoing links, rescue bookmarks from a chat history, or build a link inventory for a site migration. Extraction is fully local to your browser, so the documents and logs you mine never leave your device. Working with addresses instead of links? The tool that can extract emails from text pulls every address out of the same kind of messy page, deduped and one per line.

Worked example

Here is the sample paragraph that comes with the tool, extracted with the default settings (duplicates removed, sorted A–Z): You paste
Our docs live at https://example.com/docs and the blog at www.example.org/blog. Mirror: http://cdn.example.net/files/report.pdf?v=2 — see also example.com (no scheme here), and https://example.com/docs again.
You get
http://cdn.example.net/files/report.pdf?v=2
https://example.com/docs
www.example.org/blog
The note reads “3 URLs extracted.” The paragraph held four link mentions: the docs address appeared twice and was deduplicated to one, the mirror kept its ?v=2 query intact, the sentence-final full stop was trimmed off the blog address — and the “example.com” in brackets was ignored, having neither a scheme nor a www. to mark it as a link.

Features

  • Recognises http://, https:// and bare www. links anywhere in a paste.
  • Trims trailing sentence punctuation, so copied links work on the first click.
  • Duplicate removal and A–Z sorting in the same pass — or switch either off for the raw harvest.
  • An exact extraction count under every result.
  • One clean link per line, ready for spreadsheets, link checkers and migration plans.
  • Private by design: extraction is fully local — documents and logs never leave your browser.

URL Extractor FAQs

Does it find links without http or www?Bare domains like “example.com” without a scheme are not counted, because they are indistinguishable from filenames and abbreviations in normal text.
Why was a trailing character removed?Sentences often glue punctuation to a URL (“see example.com.”). The extractor trims common trailing punctuation so every link you copy actually works.
Can it extract from HTML source?Yes — paste page source and every href target appears as a clean list.
Is anything uploaded?No, extraction is fully local to your browser.
Why was the same page counted as two different URLs?Because the addresses differ — a query string or a different path makes a different address, and the extractor compares exact text. Only character-for-character duplicates are removed.
Does it follow or check the links it finds?No. The extractor never visits an address; it only recognises link-shaped text in your paste. Checking which ones are alive is a job for a link checker afterwards.
Can it pull the links out of a web page for me?Only if you paste the page’s source or content here — it cannot fetch a page by address. View the source, copy, paste, and every href target joins your list.
More text extraction tools →