HTML Link Extractor
The HTML link extractor lists every hyperlink in a block of HTML or a full page source: the URL, the anchor text, rel attributes such as nofollow, and the target. It separates internal from external links, flags empty and generic anchor text like “click here”, counts duplicates, and exports the result to CSV. It is useful for link audits, content reviews and migrations.
Extract links from HTML
Why audit links
Internal links spread authority and help crawlers find pages. External links add credibility when they point to good sources, but sponsored or user-generated links need the right rel attribute. A link audit shows how many links a page really has, where they go, and which ones need attention before a migration or redesign.
Good anchor text
Anchor text should describe the destination. “Read our robots.txt validator guide” tells users and search engines more than “click here” or “read more”. The tool marks anchors such as here, click here, read more, more, link, this and learn more as weak, and highlights links with no text at all (for example image links without alt text).
rel attributes
| Value | Use |
|---|---|
nofollow | Do not pass endorsement; use when you don’t vouch for the destination. |
sponsored | Paid or affiliate links. |
ugc | Links inside user comments or forum posts. |
noopener noreferrer | Security and privacy for links opened in a new tab (target=”_blank”). |
Frequently asked questions
Can I enter a page URL instead of HTML?
No. Browsers don’t let one site read another, so paste the HTML (view-source) instead. Nothing you paste is uploaded.
How does it decide internal vs external?
If you enter a site URL, a link is internal when its host matches (ignoring www). Relative links are always internal. With no site URL, only relative links count as internal.
Are links added by JavaScript included?
Only links present in the HTML you paste.
