Link Attribute Checker
Preparing tool controls…
A link attribute checker examines HTML anchor elements and reports the relationship tokens, target behavior, download attributes, destinations, and relevant markup for each link. It identifies rel="nofollow", rel="sponsored", rel="ugc", and target="_blank" without claiming that a search engine has crawled or interpreted those links. Supply a public webpage URL for a server-side HTML snapshot or paste the document source for an offline inspection.
Nofollow Link Checker At a Glance
| Property | What to expect |
|---|---|
| Analyzed elements | HTML anchor tags with href attributes |
| Relationship tokens | nofollow, sponsored, ugc, noopener, noreferrer and others |
| Filters | External, internal, nofollow, new-window, issues |
| Inspection source | Public fetched HTML or pasted/local HTML |
| Excluded checks | Link destination availability and JavaScript-generated anchors |
What an Anchor Attribute Report Reveals
An anchor is more than text leading to another address. Its href defines the destination, rel expresses a relationship or hint, target indicates the intended browsing context, and download can suggest file saving rather than navigation. These properties interact with browsers, search crawlers, accessibility technology, and site scripts, but they are not interchangeable. An anchor pointing offsite is not automatically a nofollow link, and a nofollow attribute does not necessarily make a link safe to open. Inspecting source attributes separately prevents conclusions drawn solely from styling or how a link appears visually.
The checker reads the anchor attributes present in the supplied HTML and resolves relative href values against the documented page URL. It groups HTTP and HTTPS destinations into internal and external links based on the origin, including scheme and port. Mailto links, script URLs, and unsupported schemes are treated separately rather than being miscounted as external web pages. The exact HTML is retained in the exported report so reviewers can compare normalized findings against the original anchor. A source snapshot does not include anchors inserted after load by scripts, which is an important limitation for interactive applications.
Understanding Nofollow, Sponsored, and UGC Relationships
The nofollow token is a link relationship commonly used when a publisher does not want to signal an ordinary editorial endorsement. Sponsored identifies links placed because of advertising or sponsorship, and ugc indicates user-generated content. These tokens can coexist, but the parser treats them as separate values rather than combining them into one opaque string. Their meaning depends on current search engine documentation and the context of the link; a report of raw attributes is not evidence that a ranking system will handle the link in a particular way.
A checker should distinguish whether rel is entirely absent, present but empty, or contains a valid token among several words. HTML relationship tokens are space-delimited and case-insensitive for common browser processing. The report extracts individual tokens and counts links tagged nofollow, sponsored, or ugc. It does not automatically label every external link as needing nofollow, because ordinary editorial citations and navigation do not share the same relationship requirements as compensated placements. The canonical tag checker looks at document-level canonical hints, which serve a different purpose from attributes on each outgoing anchor.
External Links, Target Blank, and Download Behavior
An href beginning with a slash points to a path on the current origin, while a complete HTTPS address can point to either the same origin or a third party. Protocol-relative addresses beginning with double slashes inherit the document scheme; relative paths depend on the page location. Correct classification therefore requires a base URL even when inspecting a pasted snippet. The tool also displays non-web destinations without treating them as valid, inspectable HTTP URLs. A filtered external-link view is convenient for checking how citations, partner placements, and outbound references are marked on a published page.
A target of _blank requests a new browsing context. Modern browsers commonly imply opener isolation for new-window anchors, but explicit noopener or noreferrer still communicates intent and can matter for compatibility. The checker flags anchors for review when _blank lacks those tokens; this is a review prompt, not proof that a specific browser can be attacked. The download attribute may suggest saving a linked resource, but browser restrictions and cross-origin behavior affect whether it is honored. An attribute report cannot verify which action occurred after a user clicked the link.
Inspecting a Live Page or a Local HTML Sample
For a live check, enter a public HTTP or HTTPS URL and select Inspect. The existing PHP inspection route downloads HTML after validating the target address, pinning DNS to a public IPv4 address, respecting robots.txt, limiting redirects and body size, and enforcing request controls. If the remote site refuses access, a report cannot be produced and the interface displays an error. The checker does not claim success simply because a URL was syntactically valid. The resulting table can be filtered by destination type, relationship, target, or review issue.
For an offline check, paste the HTML source or select a local HTML file, then supply the original page URL so that relative destinations can be resolved properly. This mode is useful when testing a staging template or examining a snippet that is unavailable publicly. You may export the findings as structured JSON or a CSV file that contains a row for each displayed link, including its markup. Use a broken link scanner separately when you need to request destinations and interpret HTTP failures; a missing or suspicious relationship token does not establish that the target resource is broken.
How to Interpret Results Without Overstating Them
Counts describe anchors in the fetched or pasted HTML, not necessarily unique destinations. The same destination may appear in a navigation menu, body text, and footer with different relationship tokens, and each occurrence has its own attributes. The report intentionally preserves those occurrences because deduplication would hide meaningful markup differences. A duplicate href can therefore be expected rather than an error. The preview truncates very large reports for readability while exports retain the bounded analyzed rows. Any malformed markup has already been interpreted by an HTML parser, so browser normalization may influence which elements survive and what their reconstructed outer HTML looks like.
An external link may use nofollow for editorial, commercial, or policy reasons, but the checker cannot infer why an author added it. Likewise, sponsored without nofollow is not automatically a malformed relationship; multiple supported values can be meaningful on their own. When a page uses JavaScript to rewrite attributes at runtime, static source inspection may disagree with what appears in the final browser DOM. Compare source and rendered output when this distinction matters, and keep any compliance decision tied to actual link purpose, current platform guidance, and the surrounding publication context.
Recognizing Markup Patterns That Need Human Review
Consider three anchors that all display “Download report.” One has a regular HTTPS href, one adds the download attribute, and one uses target="_blank" alongside rel="noopener". They might look identical to a reader while causing different browser behavior. The checker reveals the recorded attributes but cannot determine whether the content is a report, whether a server forces attachment, or whether a new context actually opens. When auditing templates, examine samples from navigation, editorial content, and user-created sections because components often apply different defaults. Attribute counts are only useful when paired with knowledge of why each link is present.
Text clarity is also outside a strict nofollow audit. An anchor with rel="nofollow" can still have vague text, and a well-described anchor can still lead to a restricted resource. Evaluate destination wording, surrounding context and keyboard usability separately. Source snippets returned to this tool are shown as literal text, not executed HTML, which preserves a safer review workflow for unknown code. Exported markup should be stored carefully when the inspected page embeds session-specific tokens in URL attributes.
Frequently Asked Questions
Does nofollow stop a link from being clickable?
No. Nofollow is a relationship token relevant to interpretation of the link; it does not remove the destination, disable navigation, or prevent a person from opening it in a browser.
Is rel="sponsored" the same as rel="nofollow"?
They are different relationship values. Sponsored is intended for advertising or compensated placements, whereas nofollow communicates a more general link relationship. They can appear together when appropriate.
Can the checker find links created by JavaScript?
Not from a simple server-fetched source document. The live check receives the HTML returned by the server without executing page scripts. Paste a browser-captured DOM snapshot when you need to examine elements introduced after loading.
Why are some links classified as non-web?
Anchors can use mailto, tel, fragments, javascript or other schemes. Those destinations are not complete HTTP or HTTPS resources and therefore should not be counted as normal external web addresses.
Does this tool verify that each destination works?
No. It analyzes anchor attributes in the source. HTTP status validation requires additional network requests and can be blocked, redirected, rate-limited or affected by server-side restrictions.
What does the download attribute guarantee?
Very little without browser context. It expresses an intended download behavior, but same-origin rules, response headers, user-agent implementations and site policy can influence how the click is handled.
Conclusion
An attribute audit is useful when link intent must be compared against actual HTML. Inspect relationship tokens and targets at the individual-anchor level, and distinguish source-markup facts from search engine interpretation or destination health. The exported evidence supports a careful manual review without pretending to measure effects the checker cannot observe.