Internal Link Analyzer
Resolve your page links and separate same-origin, external, and non-HTTP destinations. Quickly audit your HTML structure without external crawling.
Your workspace
Browser + optional server checksHow to use Internal Link Analyzer
- Paste your raw HTML source code into the HTML source field.
- Enter the full base URL of the page to define the origin.
- Click analyze to view the categorized list of internal and external links.
When this tool is useful
Understanding how your pages connect is vital for maintaining a healthy website architecture. The Internal Link Analyzer parses your provided HTML source code to isolate every hyperlink found within the document. By comparing these links against your specified base URL, the tool categorizes them into internal paths, which share the same origin, and external destinations that point elsewhere. This process helps you identify broken navigation, orphaned pages, or unexpected outbound links that might impact your site's flow. Whether you are auditing a single landing page or reviewing a template file, this utility provides a clear, organized breakdown of your link distribution, helping you ensure that your site navigation remains consistent and intentional.
<a href="/contact">Contact</a> <a href="https://google.com">Search</a>
Internal: 1 (/contact), External: 1 (https://google.com)
Categorizing Link Origins
The core function of this analyzer relies on comparing the href attribute of each anchor tag against the provided base URL. If a link starts with a relative path or matches the domain of the base URL, it is classified as an internal link. This logic is essential for developers who need to ensure that site-wide navigation remains within the intended domain boundaries. By isolating these links, you can quickly spot relative paths that might be missing leading slashes or absolute URLs that should have been kept relative. This simple comparison method provides an immediate snapshot of your page's connectivity without needing to perform a full-site crawl or access external server logs.
Handling Non-HTTP Destinations
Beyond standard web links, your HTML may contain various other URI schemes like mailto, tel, or javascript protocols. This tool identifies these non-HTTP destinations separately from standard web links. Distinguishing these is useful because they do not function as traditional page navigation and often require different handling or validation. For instance, a mailto link is intended to open an email client rather than load a new page. By separating these from your primary internal and external web links, you gain a clearer view of how users interact with your content. This granular breakdown ensures that you are not misinterpreting functional utility links as standard navigational paths during your site audit.
Method and limits
Same-origin comparison uses the supplied base URL. Counts do not establish crawl depth or link quality.
Common questions
Does this tool crawl my entire website?
No, this tool only analyzes the specific HTML source code you provide in the input field. It does not follow links or crawl other pages on your site.
What happens if I leave the HTML source blank?
If you leave the HTML source field blank, the tool will attempt to fetch the content from the URL you provided. Ensure the URL is accessible and correctly formatted.
How does it determine if a link is internal?
It compares the host of the link against the base URL you provided. If the domains match, or if the link is a relative path, it is marked as internal.
Continue your workflow
Explore more tools in this category for your next step.
Internal PageRank Calculator
Calculate relative PageRank on a supplied internal-link graph with damping, dangling-node redistribution and a fixed iteration bound.
Link Attribute Audit
Inspect rel attributes on pasted HTML anchors and count nofollow, sponsored and ugc links.
Crawl Depth Analyzer
Calculate shortest link depth from an entered root using a supplied internal-link graph; unlisted links cannot be discovered.
Anchor Text Audit
List anchor text and resolved destinations from pasted HTML, including empty and image-only links.