Extracting links
Paste the source
Text from a web page, the page's HTML source, a newsletter or an email thread all work. You do not need to clean it first.
Choose the options
Remove duplicates is on by default. Include bare domains without http also catches things like
printshop.co.uk/contact; leave it off if you only want proper links.Read the count
The note above the output says how many links were found. Each one appears on its own line, ending cleanly without the sentence punctuation that followed it.
Copy or save
Copy the list or download it as links.txt, ready for a crawler, a spreadsheet column or a domain extraction step.
A partner email with tracking links
This message has a tracked link that appears twice, a bare path written without http, a plain http link at the end of a sentence and an email address.
With the defaults the extractor returns two links: the tracked stockists page once, and the Marlow Print link with its final full stop removed. The email address is never treated as a link. The bare kilnandco.example/blog is not picked up even with bare domains switched on, because that option recognises common endings such as .co.uk, .org.uk, .com, .net, .org, .uk, .ie, .eu and .io rather than every possible one.
See https://www.kilnandco.example/stockists?utm_source=newsletter&utm_medium=email and our blog at kilnandco.example/blog. Partner: http://marlowprint.example. Repeat: https://www.kilnandco.example/stockists?utm_source=newsletter&utm_medium=email. Email [email protected]
2 links found https://www.kilnandco.example/stockists?utm_source=newsletter&utm_medium=email http://marlowprint.example
What is and is not treated as a link
| In the text | Bare domains off | Bare domains on |
|---|---|---|
| https://... or http://... | Extracted | Extracted |
| www.example-shop.com | Extracted | Extracted |
| printshop.co.uk/contact | Ignored | Extracted |
| [email protected] | Ignored | The address itself is ignored, but its domain can be picked up |
| Link followed by a full stop or bracket | Trimmed | Trimmed |
From a list of links to a list of businesses
A page of search results, a directory listing or a trade association's member page is often just a pile of links once you copy it. Extracting them is the first step to a prospect list: the next is usually to reduce each URL to its domain, remove duplicates and anything that is not a business site (social networks, review platforms, booking engines), and then visit what is left.
Tracking parameters such as utm_source stay on the links. They are harmless for visiting a page, but two links to the same page with different tracking tags count as different URLs. If you are de-duplicating websites rather than pages, convert the list to domains first.
Questions people ask
How do I extract all links from a web page?
Copy the page's HTML source (in most browsers, right click and choose View page source, then select all) and paste it here. Links inside href attributes are plain text in the source, so they are all found. Copying the visible page text only gives the links that are written out on screen.
Does it remove duplicate URLs?
Yes, when Remove duplicates is ticked, which is the default. Two URLs count as duplicates only if they are exactly the same text, so the same page with different tracking parameters, or with and without www, stays as separate entries. Convert to domains if you need one entry per website.
Why are some domains not picked up?
Links that start with http, https or www are always found. Bare domains without those are only found when the bare domain option is on, and then only for common endings such as .co.uk, .com and .org. A domain on a less common ending needs its http or www to be recognised.
Can I get just the domain names instead of full links?
Use the domain extractor for that. It takes URLs, bare domains and email addresses and reduces each one to its registrable domain, such as kilnandco.example, with www and paths removed and each domain listed once. You can paste this tool's output straight into it.
Where your data goes
Matching runs in your browser against the text on this page. The links are not visited, checked or sent anywhere; the download is made locally.
Checked against the tool on