1. Home
  2. Productivity tools
  3. HTML Link Extractor

HTML Link Extractor

For SEOs auditing a page’s links without opening a crawler.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use HTML Link Extractor

  1. Paste or open your text, or press Sample to try an example.
  2. Read the results and notes.
  3. Copy the output or download it as a file.

Features

  • Resolves relative links against the page address
  • Separates internal, external and other links such as mail, phone and #
  • Shows anchor text, rel and target for every link
  • Counts links with nofollow, sponsored or ugc
  • Table you can download as CSV

Supported formats

Input

  • Pasted HTML

You get

  • Table
  • CSV

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the HTML Link Extractor is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It never visits the links, so it cannot find broken or redirecting ones.
  • Internal means the same host as the page address you give, ignoring a leading www.

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.

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.

Checked against the current version of the HTML Link Extractor on .

Troubleshooting

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

Why does an image link show text in square brackets?

A link that holds only an image has no visible words, so the tool shows the image’s alt text in brackets, for example [image: Size chart]. If the image has no alt text either, the link is counted as having no readable anchor text and a warning appears.

What does it mean when a link has target _blank?

It opens in a new tab or window. The column is there so you can spot external links that open away from your page, and check that they also carry rel values such as noopener, which protect against a known browser risk.

What counts as an internal link?

A link whose host matches the page address, ignoring a leading www. Subdomains count as external unless you treat them otherwise.

Does it check whether links work?

No. It never visits the links, so it cannot find broken ones; it lists what the HTML contains.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.