The Check Canonical Tags Bookmarklet is an essential tool for SEO auditing and duplicate content prevention.
With one click, this bookmarklet checks for canonical tags and displays their URLs.
Perfect for quick SEO audits and canonical tag verification. No more manual inspection - just click and check!
javascript:!function(){const n=document.querySelectorAll('link[rel="canonical"]'),t=document.createElement("div");t.style.cssText="\n position: fixed;\n top: 20px;\n right: 20px;\n width: 80%;\n max-width: 800px;\n max-height: 80vh;\n background: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n z-index: 10000;\n overflow-y: auto;\n ";const e=document.createElement("div");e.innerHTML=`\n <h2 style="margin-top: 0;">Canonical Tags Analysis</h2>\n <div style="margin-bottom: 20px;">\n <button onclick="this.closest('.seo-popup').remove()" style="float: right;">Close</button>\n </div>\n <div style="margin-bottom: 20px; padding: 10px; border: 1px solid ${n.length>0?"#4CAF50":"#ff4444"}; border-radius: 4px;">\n <h3 style="margin: 0 0 10px 0;">Status</h3>\n <p style="margin: 0; color: ${n.length>0?"#4CAF50":"#ff4444"}">\n ${n.length>0?"Canonical tag(s) found":"No canonical tag found"}\n </p>\n </div>\n <div style="margin-bottom: 20px;">\n <h3 style="margin: 0 0 10px 0;">Canonical URLs</h3>\n ${n.length>0?`<ul style="margin: 0; padding-left: 20px;">\n ${Array.from(n).map((n=>`<li style="margin-bottom: 5px;">\n <a href="${n.href}" target="_blank">${n.href}</a>\n </li>`)).join("")}\n </ul>`:'<p style="margin: 0;">No canonical tags found in the document.</p>'}\n </div>\n <div style="margin-bottom: 20px;">\n <h3 style="margin: 0 0 10px 0;">Current Page URL</h3>\n <p style="margin: 0;">${window.location.href}</p>\n </div>\n `,t.classList.add("seo-popup"),t.appendChild(e),document.body.appendChild(t)}();
Drag me to bookmark bar: 👉🏻 Check Canonical Tags
This tool streamlines your SEO auditing by:
- Automatically detecting canonical tags
- Displaying all canonical URLs
- Showing current page URL for comparison
- Highlighting presence/absence of canonical tags
- Working on any webpage instantly
Why Use the Canonical Tags Checker? #
This essential tool makes canonical tag verification effortless. Perfect for SEO professionals, web developers, and anyone who needs to ensure proper duplicate content handling. Simply click the bookmarklet to instantly check if a page has canonical tags and verify their URLs. Helps you quickly identify potential duplicate content issues and ensure proper canonicalization of your pages.
- Previous: Check Broken Links
- Next: Check Hreflang Tags