Unsafe external links checker
Find external links missing noopener or noreferrer attributes.
Last submissions
What this checker does
The unsafe external links checker finds links on a webpage that point to other domains and open in a new tab or window without the rel="noopener" or rel="noreferrer" attributes. These attributes control what the newly opened page can do with the original page.
The tool lists the links that match this pattern so you can review them and add the appropriate attributes.
Why the attributes matter
When a link uses target="_blank", the new page can access the original page through the window.opener object in some browser configurations. A malicious or compromised destination page could use that access to redirect the original tab to a phishing page. This behavior is often called tabnabbing.
The noopener attribute prevents the new page from having a reference to the original. Modern browsers apply noopener by default for target="_blank" links, but explicit attributes are still recommended for clarity and for older environments.
The noreferrer attribute also prevents the browser from sending the Referer header to the destination. That can be useful for privacy, though it may affect analytics on the destination site.
How the attributes are used
rel="noopener": prevents the new page from accessingwindow.opener.rel="noreferrer": impliesnoopenerand also suppresses the referrer header.rel="nofollow": unrelated to security; it hints that search engines should not follow the link.
For most external links that open in a new tab, adding noopener or noreferrer is a low-cost precaution.
Reading the results
The checker reports external links that open in a new tab and lack the relevant attributes. It does not determine whether a destination is malicious, and it does not test the link in a browser. It reports the markup as written.
Links that open in the same tab are not flagged, because the opener relationship does not apply in the same way. Internal links are also excluded, since the concern is primarily about destinations you do not control.
Practical guidance
- Add
rel="noopener"to external links withtarget="_blank". - Use
rel="noreferrer"when you also want to avoid sending referrer information. - Review generated links: CMS editors and markdown renderers may add
target="_blank"automatically. Check whether they add the attributes too. - Keep user-generated links in check: if your site displays links from users, sanitize and add attributes consistently.
Limitations
The checker reads links from the HTML for the URL you provide. Links added by JavaScript after load may not appear. It does not verify that the destination is safe or that the attributes are respected by every browser.
Use the results as a maintenance aid. The attributes are a small but useful part of a broader approach to link safety and user protection.
Similar tools
Find all external links on a webpage.
Find all internal links on a webpage.
Find insecure HTTP resources referenced by an HTTPS webpage.
Popular tools
Check which images on a page are missing alt attributes for accessibility and SEO.
Check which images on a page use lazy loading and which load immediately.
Measure the total size of a webpage, including all of its resources.
Check whether a page is blocked from search indexing by meta tags, headers or robots.txt.