Guide
Listing every link in a page and sorting them by type
Links are how visitors move around a site and how search engines find pages and judge how they relate. Auditing them is a common task: which pages does this article link to, how many go outside the site, which links carry nofollow and which have no readable text. A full crawler answers all of that, but sometimes you only have one page of HTML in front of you. This extractor reads that HTML and puts every link into a table.
How links are read
Paste the HTML of the page, and enter the page’s own address in the first box. The tool removes comments, then finds every a element and reads its href, its anchor text, its rel and its target. Relative addresses such as /returns are resolved against the page address into full addresses, so the table is the same whatever way the links were written in the source.
Internal, external and other
A link is internal when its host matches the host of the page address, ignoring a leading www, so shop.example and www.shop.example count as the same site. A subdomain such as blog.shop.example is treated as external. Links that begin with mailto:, tel:, javascript: or sms:, links that only point to a fragment on the same page and links with no address are grouped as other. If you leave the page address empty, links that begin with http are treated as external and relative links as internal.
The rel and target columns
The rel column shows the values on each link, such as nofollow, sponsored, ugc and noopener. The first three are the signals that tell search engines a link is paid, user-generated or not an endorsement. The summary counts links that carry any of them. The target column shows _blank where a link opens in a new tab.
Anchor text
The anchor text is the visible text inside the link, with tags removed. When a link contains only an image, the tool writes the image’s alt text in square brackets. Links with no text and no alt are counted, and a warning tells you how many. Empty or vague anchors such as “click here” are a missed chance to describe the target for people and for search engines.
A worked example
The sample page is a blog post. It has five links: a category link to /running-shoes, an external “outside guide” on another host with rel="nofollow" and target="_blank", an “Email us” link to a mailto: address, an image link to /sizes whose alt text is “Size chart” and a “Returns” link. The summary reads 5 links, 3 internal, 1 external, 1 other and 1 with nofollow, sponsored or ugc. The image link appears as [image: Size chart].
Limits
The tool reads the markup you paste. It never visits the links, so it cannot detect broken links, redirects or pages that return errors, and it does not see links added by JavaScript after the page loads. Pattern matching can be fooled by unusual HTML, such as an a tag written inside a script string. For a full-site audit use a crawler, and use this extractor for quick checks.
Related tools
- Anchor Text Ratio Analyzer classifies a list of backlink anchors by type.
- Heading Structure Extractor shows the outline of the same HTML.
- Sitemap to CSV Extractor lists the addresses a sitemap offers to search engines.
- Disavow File Generator turns a list of domains you have chosen into a file for Search Console.
Checked against the current version of the HTML Link Extractor on .

