Free tool / On-page checks

Link Extractor: Extract All Links and Anchor Text From a Page

Get every link on a web page in one list, with its anchor text, URL, internal or external type and rel values such as nofollow. Copy the URLs or export to CSV.

Free, no sign-up Checks the live page for you No account, results not kept Updated

Lists every link in the page HTML with its anchor text, nofollow, sponsored and ugc values.

Enter a page URL to extract all of its links and anchor text.

Links are read from the HTML the server sends. Links added later by JavaScript are not included.

How to use the link extractor

Enter a URL and get the full link list in a few seconds.

Enter a page URL

Any public web page works: an article, a category page, a competitor's resource list or your own homepage.

Filter the list

Show internal or external links only, nofollow, sponsored or ugc links, links that open a new tab, or image links.

Copy or export

Copy the unique URLs in the current view, or export everything, with anchor text and rel values, as CSV.

Link attributes explained

The rel and target values the extractor shows, and what search engines do with them.

AttributeWhat it meansWhen to use it
rel="nofollow"Asks search engines not to pass credit through the link. Google treats it as a hint.Links you don't want to vouch for, where sponsored or ugc don't fit.
rel="sponsored"Marks a link that was paid for or is part of an advert or affiliate deal.Paid placements, affiliate links and sponsored posts.
rel="ugc"Marks a link added by users, such as in comments or forum posts.User-generated content you don't control.
target="_blank"Opens the link in a new tab. It has no effect on SEO.Use sparingly, for example on links to downloads or tools.
rel="noopener", "noreferrer"Security and privacy values for new-tab links. Not SEO signals, so the table hides them from the rel column.Added automatically by most CMSs to target="_blank" links.
Image linksA link around an image. Search engines use the image's alt text as the anchor text.Always give linked images a short, descriptive alt text.

What a link extractor is for

A link extractor reads a web page and pulls out every link on it. No more hovering over links one by one or digging through the page source: you get a clean list with the anchor text, the full URL and the attributes that matter for SEO.

That makes it quick to answer questions such as: which sites does this page link to, which links are nofollow, what anchor text points to a page, and which links open in a new tab.

Common ways to use it

  • Audit your own pages. Check that internal links use descriptive anchor text and that none are accidentally marked nofollow.
  • Review outbound links. See every external site a post links to, and confirm that paid or affiliate links carry rel="sponsored".
  • Check a link you earned. Confirm that a page mentioning you really links to your site, and see whether the link is followed.
  • Study a resource page. Export the external links from a roundup or resource list to see which sites it includes.
  • Build a URL list. Copy every internal link from a category or hub page so you can check them with another tool.

Understanding anchor text

Anchor text is the clickable text of a link. Search engines use it to understand what the target page is about, so "XML sitemap guide" tells them much more than "click here" or "read more".

The anchor summary at the top of the results shows the anchor texts used most on the page. If generic phrases like "read more" or "learn more" top the list, the page is missing a chance to say where its links lead. For image links, the image's alt text works as the anchor text, which is why the extractor shows it. A linked image with no alt text is a link with no anchor at all.

Internal and external links

A link counts as internal when it points to the same domain as the page, with or without www, and as external when it points anywhere else. Subdomains such as shop.example.com count as external, because search engines often treat them as separate sites.

There is no set ratio. A good article links to related pages on the same site and to sources that back up what it says. What matters is that each link is useful to the reader.

nofollow, sponsored and ugc

Google asks site owners to mark some links with a rel attribute:

  • sponsored for paid links, including affiliate links.
  • ugc for links in comments, forum posts and other content from users.
  • nofollow for any other link you'd rather not vouch for.

A link can carry more than one value, such as rel="sponsored nofollow". Google treats all three as hints. Unlabelled paid links can count against a site, so make sure every paid or affiliate link on your pages is marked.

Tips for cleaner links

Give every link text that makes sense on its own. Avoid linking to the same URL several times on one page with different anchors. Use target="_blank" only where it helps the reader, such as for downloads. And make sure internal links point straight at the final URL, not at an old address that redirects.

Link extractor: questions

Short answers about how this tool works. Something missing? Ask us.

What does the link extractor include?

Every <a href> link in the page HTML, in the order it appears, including menus, sidebars and footers. Email and phone links are listed as "Other". Links to a spot on the same page and JavaScript links are skipped.

Why is the anchor text empty for some links?

The link has no text and no image alt text, so there is nothing for search engines to read. Icon links often look like this. Add visible text, an alt attribute on the image or an aria-label.

How do I extract only the external links?

Choose the External filter, tick "Unique URLs only" if you want each URL once, then click Copy URLs or Export CSV. The export follows the filter and search you have set.

Does it show links added by JavaScript?

No. It reads the HTML the server sends, which is also what most search engines see first. Links built later by scripts, such as some widgets or infinite scroll, are not in that HTML.

Can I extract links from a whole website?

This tool reads one page at a time. To collect links from every page of a site, crawl it with the free Crawlfree desktop app and export the results to CSV or Excel.

Does a nofollow link pass any value?

Google treats nofollow, sponsored and ugc as hints, not strict rules, so it may still use the link for discovery. As a site owner, mark paid links as sponsored and leave your own editorial links followed.

See the links on every page of your site

Crawlfree audits every page in one crawl. Free for Windows, no sign-up, unlimited URLs.