Skip to content
Rankora
Free · no account needed

Link Counter

Paste a page's HTML or load its URL to get a count of every link by type, with a detailed list and the problems worth fixing.

Privacy and cost

This tool requests the public URL you enter from our servers. It is free, rate-limited to prevent abuse, and we do not store the URL or the page content.

How it works

  1. Paste the HTML source or enter the public URL of the page to analyse.
  2. Add your domain so internal and external links are split exactly (www is ignored, subdomains are optional).
  3. Read the counters, filter the list by type and spot empty, javascript: or text-less links.

Example

A 6-link menu on acme.com (/, /pricing, a nofollow Twitter link, a mailto:, an #faq link and a "#" holding an image without alt) gives: 6 links, 2 internal, 1 external, 1 nofollow, 1 mailto, 1 in-page anchor, 1 empty href and 1 link with no accessible text at all.

What the result means

The total covers every <a href> and <area href>. "Internal" means the same host as your domain (with or without www); mailto:, tel:, javascript: and #fragment links are neither internal nor external. An empty href or "#" goes nowhere, and a link with no text and no alt gives crawlers and screen readers no context. There is no ideal link count: judge it against what the page needs to do.

Common problems this tool helps with

  • Empty (href="#") or javascript: links that crawlers do not follow and that hurt keyboard navigation.
  • Image links without an alt attribute, so no usable anchor text.
  • A page whose links almost all leave the site when it should strengthen internal linking.
  • Repeated links to the same URL that inflate the total without adding anything.

Frequently asked questions

How many links can a page have?

Google does not publish a simple hard limit. What matters is that each link is useful and clear to the reader; very long menus dilute attention.

Does the tool follow redirects or test for broken links?

No. It counts and classifies the links present in the HTML without opening them. Finding broken links needs a site crawl.

Is my HTML sent to your servers?

Not when you paste it: the analysis runs in your browser. If you enter a URL, only that URL is sent to our server so it can download the page.