Link Analyzer
Paste page HTML to instantly categorize every link as internal or external, detect nofollow attributes, review anchor text, filter the link inventory, and export it as CSV. Runs entirely in your browser.
What the Link Analyzer Does
Every page on the web is stitched together by links. Search engines follow them to discover content, they pass authority between pages, and they tell visitors where to go next. This analyzer reads the HTML you paste, finds every anchor element, and sorts the results into a clean inventory: internal or external, dofollow or nofollow, with the anchor text and full URL for each one.
Because the analysis runs entirely in your browser with the native DOMParser API, you can safely inspect staging pages, member-only pages, or drafts that are not publicly accessible yet. Nothing is uploaded to a server.
How to Use It
- Paste the raw HTML of a page into the input panel. You can copy it from your editor, your CMS source view, or the browser's view-source window.
- Set the base URL. This is the address the page lives at, and it decides which links count as internal. Relative links such as
/pricingare resolved against it. - Review the summary cards for the total link count, the internal and external split, and how many links are nofollow.
- Switch between the filter tabs to focus on internal links, external links, or nofollow links only.
- Use the search box and column sorting to dig into specific URLs or anchor texts, then export the inventory to CSV if you need it in a spreadsheet.
The analysis updates as you type, so you can tweak the base URL or paste a different page fragment and watch the summary change instantly.
Internal vs External Links
Internal links point to another page on the same domain. They help search engines understand the structure of your site, distribute authority to important pages, and keep visitors moving through your content. A page with no internal links is an orphan that search engines struggle to discover. When you audit a page, look at whether the internal links use descriptive anchor text and whether they point to pages that are actually important.
External links point to other domains. Linking out to research, sources, and useful resources is normal and healthy. The key questions are whether the links still work, whether they go to trustworthy destinations, and whether they are marked correctly when they are commercial or user generated. Broken Link Checker is the natural companion tool when you want to verify that every outbound URL still returns a valid response.
Dofollow vs Nofollow
By default, a link is "dofollow" and search engines may treat it as a signal of trust. The rel="nofollow" attribute tells search engines not to pass that signal. In practice you should mark paid placements, affiliate links, and user submitted content so you stay within search engine guidelines. Google also recognizes the more specific rel="sponsored" for advertising or affiliate links and rel="ugc" for user generated content such as forum posts.
This tool counts a link as nofollow when its rel attribute contains the nofollow token, and it shows the raw rel value next to every row so nothing is hidden. That makes it easy to catch affiliate links that were never tagged, or internal links that someone accidentally marked nofollow.
Anchor Text Analysis
The anchor text is the clickable words of a link, and it is one of the strongest hints about what the destination page is about. The anchor text panel lists the most frequently used phrases across all links on the page. Repeating the same generic phrase such as "click here" dozens of times is a missed opportunity; descriptive anchors like "greenhouse lighting guide" tell both readers and search engines exactly what to expect.
Images wrapped in links are handled too. When a link contains no readable text, the analyzer falls back to the image's alt attribute, and if that is missing the row is labeled as having no anchor text. Those empty anchors are worth fixing, since screen readers rely on them as well.
What This Tool Counts
- Total links: every anchor element with a non-empty href attribute in the pasted HTML.
- Internal: links that resolve to the same hostname as the base URL, including relative paths and hash links.
- External: links that resolve to a different hostname, including protocol relative URLs.
- Dofollow and nofollow: every link categorized by whether its rel attribute contains the nofollow token.
- Other: special schemes such as
mailto:,tel:,sms:, andjavascript:are listed with their full URL so they are not confused with web page links.
Privacy
The HTML you paste never leaves your device. Parsing, categorization, and export all happen locally in the browser tab. That makes the analyzer safe for internal documentation, client sites under NDA, and any page where the link structure itself is sensitive.
Related Tools
After cleaning up your links, run the page through the Broken Link Checker to confirm none of them 404. The HTML Validator catches structural markup problems that can confuse parsers, and the URL Parser breaks individual addresses into their components when you need to inspect query strings or fragments. For content level optimization, the Keyword Extractor and Meta Tag Generator pair well with a link audit.
Frequently Asked Questions
What is nofollow?
rel="nofollow" is an attribute that tells search engines not to pass ranking signals through a link. Site owners use it for paid links, affiliate links, and user generated content such as blog comments and forum posts.
What is the difference between internal and external links?
Internal links point to pages on the same domain and help search engines understand your site structure. External links point to other websites. Both matter for SEO, but they are analyzed differently.
Does the tool fetch the page from a URL?
No. You paste the HTML directly. This keeps the tool fast, private, and able to analyze pages that are not publicly reachable, such as staging sites or content behind a login.
How are relative links handled?
Relative links such as /pricing or ../about are resolved against the base URL you provide. That is why setting the correct base URL matters for an accurate internal versus external split.
Can I export the link inventory?
Yes. The results table includes an export menu with CSV, Excel, JSON, and PDF options, so you can keep a record of the audit or share it with your team.
Are links created by JavaScript included?
No. The analyzer reads the HTML you paste as static markup. Links injected later by client side JavaScript are not present unless they appear in the fetched or rendered HTML you provide.