Boneyard Tools

Internal & External Link Extractor

Paste a page's HTML and this tool pulls out every <a> link, shows its anchor text, and labels each one as internal, external, anchor, mailto or tel. Add your domain to split internal from external accurately, and see at a glance which links are nofollow. Everything runs in your browser.

How to extract links from a page

  1. Open the page, view source (or use your browser inspector), and copy the HTML.
  2. Paste it into the box and optionally enter the page's domain, like example.com.
  3. Read the table of links with their types and nofollow flags, then copy the report.

Examples

Internal vs external with a nofollow link

<a href="/pricing">Pricing</a> <a href="https://partner.com" rel="nofollow">Partner</a> on example.com
/pricing -> internal; https://partner.com -> external, nofollow. Counts: 1 internal, 1 external, 1 nofollow.

Anchor, mailto and tel links

<a href="#faq">FAQ</a> <a href="mailto:hi@example.com">Email</a> <a href="tel:+15551234567">Call</a>
#faq -> anchor; mailto -> mailto; tel -> tel. 0 internal, 0 external.

Frequently asked questions

How does the tool decide if a link is internal or external?

A relative link such as /blog or about.html is treated as internal because it stays on the same site. An absolute link (one with a full https://host/ address) is internal only when its host matches the domain you enter, otherwise it is external. If you leave the domain blank, every absolute link is counted as external and only relative links are internal, so adding your domain gives the most accurate split. The www prefix, scheme and a trailing slash are ignored when matching hosts.

What do the internal, external, anchor, mailto and tel types mean?

Internal and external describe links to web pages on or off your site. Anchor means the href starts with # and jumps to a section of the same page rather than loading a new URL. Mailto links open an email client and tel links start a phone call. Anchor, mailto and tel are listed but are not counted as internal or external links, since they are not page-to-page navigation.

What does the nofollow flag mean?

A link is flagged nofollow when its rel attribute contains the nofollow token, for example rel="nofollow" or rel="sponsored noopener nofollow". Nofollow asks search engines not to pass ranking signals through that link. Reviewing which of your links are nofollow helps you confirm that paid, user-generated or untrusted links are marked, while the links you want to pass authority are followed.

Does this fetch the page or only read what I paste?

It only reads the HTML you paste in. It does not visit the URL, follow the links, or run JavaScript. If links on your page are added by client-side scripts, copy the rendered HTML from your browser's inspector instead of the raw view-source response so those links are included.

How is the anchor text extracted when a link contains images or markup?

The visible text inside each <a>...</a> is taken with any nested tags removed and runs of whitespace collapsed to single spaces. So a link wrapping <span>Read</span> <b>the guide</b> reports the anchor text as "Read the guide". A link that wraps only an image and no text reports empty anchor text, which is worth noting because descriptive anchor text helps both users and search engines.

Is my HTML kept private?

Yes. The extraction runs entirely in your browser with JavaScript. Nothing you paste is uploaded, logged or stored anywhere.

Related tools