FREE ONLINE TOOLTechnical SEO

Internal and external link classifier

Classify links in your HTML by origin, protocol and destination

Resolve relative links and separate same-origin web links from external and non-web links.

  • No account needed
  • Practical guide included
  • Clear data boundaries
Internal and external link classifier
Private by design

Preparing your workspace…

Internal and external link classifier features and uses

A link inventory helps explain how a page connects to the rest of a site and to other destinations. Resolve supplied anchors against a page URL, then separate same-origin web links, external addresses, page fragments and non-web protocols. No destination needs to be contacted for this classification.

Choose the real page URL as the reference for resolving relative links. Review how origins, schemes and subdomains are classified before using the list in an audit; this tool does not crawl the destinations or test whether they are broken.

Continue this task with Link extractor and Anchor text analyzer.

Common uses

  • Review navigation and outgoing references.
  • Find mail, telephone and fragment links in one inventory.
  • Check how relative addresses resolve after a move.

How to use this tool

Follow these steps to prepare your input, run the tool and review its output.

  1. Paste anchor markup

    Include the a elements and href attributes you want to classify. Text and practical label fallbacks are included in the results.

  2. Set the page’s full address

    The base address resolves relative destinations and defines the origin used for the internal-versus-external comparison.

  3. Inspect types and rel values

    Review destination addresses, labels and relationship tokens. Use a separate live check when you need response status or redirect evidence.

Example input and output

Different schemes are different origins

Illustrative example
Starting input
<a href="/guide/">Guide</a>
<a href="http://example.com/help">Help</a>
Base: https://example.com/
What to look for
The guide is same-origin. The HTTP help link has a different origin because its scheme differs.

This classification intentionally includes scheme and port, rather than grouping every matching domain as internal.

How to interpret the results

A non-web link can be intentional, such as mailto: or tel:. Review whether the destination type suits the interface rather than treating every such row as an error.

Counts summarize link types from this supplied source. They do not measure crawl discovery, link value or destination health.

Before you use the result

  • Use the correct base page, including any nondefault port.
  • Do not interpret an external label as a warning by itself.
  • Relative and fragment behavior depends on the supplied href value.

Frequently asked questions

Answers about using this tool, interpreting its results and how it handles your data.

How we handle your data
Are subdomains classified as internal?

Only an exact matching origin is internal here. A different subdomain is a different hostname.

Does it check broken links?

No. It resolves and classifies addresses without requesting them.

Are rel attributes changed?

No. Existing values are displayed as supplied for your review.

Can it inspect email and telephone links?

Yes. Those are listed as non-web protocols rather than ordinary HTTP links.

Is this tool free, and do I need to sign up?

This tool is free to use without an account or subscription. Supply your input in the workspace on this page, then run the tool. Your browser needs to support the features used by the tool; keep an original copy and review any generated output before applying it to a live website.

Are my files or text uploaded to your server?

This tool processes the supplied input locally in your browser. It does not upload your files or text to our server for processing. Copy or download the result you want to keep; the tool does not publish changes to your website automatically.