Free SEO tool

HTML Link Extractor

Paste the HTML of a page and the tool lists all links with anchor text, internal or external type and rel values, plus a CSV export.

What is html link extractor?

Link audits start with a list of links. This tool pulls every anchor from the HTML you paste and shows where it points, what the anchor text is and whether it has rel values such as nofollow, sponsored or ugc.

Enter your domain so the tool can separate internal links from external ones. You can copy the full list as CSV for a spreadsheet.

How to use the html link extractor

  1. Enter your domain without https://.
  2. Paste the HTML of the page.
  3. Press Extract and review the table or copy the CSV.

How the html link extractor works

All a elements with an href are read. A link is external if it starts with http and its host differs from your domain. Rel values are read from the rel attribute. Counts are totals of each type.

Worked example

Three links, one relative, one with nofollow and one on your own domain, show 2 internal, 1 external and 1 nofollow.

Common uses of the html link extractor

  • Internal link audits.
  • Checking guest post links.
  • Finding nofollow links.
  • Finding empty anchors.
  • Preparing a link report.

Tips and common mistakes

Use it on your own page to check internal linking and on a guest post to check what links were included.

Look for empty anchors, which are often image links without alt text.

Background: what to know before you rely on it

Links are the pathways that crawlers and users follow. Internal links spread authority around a site and tell search engines which pages matter, while external links connect your content to other sources. Anchor text gives context about the target page, so generic text such as click here wastes an opportunity. Rel values describe the relationship: nofollow tells search engines not to endorse, sponsored marks paid links and ugc marks user generated content. A regular link review keeps a site healthy as it grows.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.

Frequently asked questions

Can I check a live URL?

Paste the page source. The tool does not fetch pages.

What counts as internal?

Relative links and links to your domain.

How do I export?

Copy the CSV and paste it into a spreadsheet.

Is the HTML uploaded?

No. It is processed in your browser.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.