Link Analyzer Tool

Audit the link profile of pasted HTML: internal/external split, nofollow usage, and dead hrefs.

Audit links in pasted HTML instantly. Free link analyzer with internal/external split, nofollow counts and broken empty-href detection.

Calculator Inputs

About Link Analyzer

Audit the link profile of pasted HTML: internal/external split, nofollow usage, and dead hrefs.

Paste any HTML fragment — a nav menu, footer, or full page source. The analyzer extracts every anchor, classifies it against your domain as internal or external, counts nofollow/UGC/sponsored markers, and flags empty, hash-only, and javascript: hrefs that leak crawl budget or confuse users.

Without a base domain, relative URLs count as internal and absolute URLs as external. Everything runs locally in your browser.

Where it is used

Pre-publish SEO checks, auditing sponsored-link compliance, inventorying navigation links, and cleaning legacy markup.

How to use the Link Analyzer

  1. HTML Source — enter the value (e.g. <a href="/about">About</a>…).
  2. Your Domain (optional, e.g. example.com) — enter the value (e.g. example.com).
  3. Calculate — press the Calculate button to see the result instantly above.

Formula

Parse <a> tags → classify by host vs base domain → count rel and empty hrefs.

Examples

Example

htmlInput:<a href="/about">About</a><a href="https://x.com" rel="nofollow">X</a><a href="#">top</a>
baseDomain:example.com
Result: 3 link(s): 1 internal, 1 external, 1 nofollow, 1 empty/dead.

Frequently Asked Questions

Why do empty hrefs matter?
Links to "#" or javascript: create crawlable dead ends and break keyboard/screen-reader navigation. Use buttons for actions, links for navigation.
Should sponsored links be nofollow?
Yes — Google requires paid, affiliate, and sponsored links to carry rel="sponsored" or rel="nofollow". Non-compliance risks manual penalties.
What is a healthy internal/external ratio?
There is no fixed ratio. Pages need enough internal links for discovery (every important page reachable within a few clicks) and external links only where they genuinely help readers.