The Check Hreflang Tags Bookmarklet is an essential tool for international SEO and multilingual content verification.
With one click, this bookmarklet checks for hreflang tags and displays their URLs.
Perfect for quick international SEO audits and multilingual content verification. No more manual inspection - just click and check!
javascript:!function(){const n=document.querySelectorAll('link[rel="alternate"][hreflang]'),t=window.location.href,e=document.createElement("div");e.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 o=document.createElement("div");o.innerHTML=`\n <h2 style="margin-top: 0;">Hreflang 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?"Hreflang tags found":"No hreflang tags found"}\n </p>\n </div>\n <div style="margin-bottom: 20px;">\n <h3 style="margin: 0 0 10px 0;">Current Page</h3>\n <p style="margin: 0;">${t}</p>\n </div>\n <div style="margin-bottom: 20px;">\n <h3 style="margin: 0 0 10px 0;">Hreflang Tags</h3>\n ${n.length>0?`<div style="margin: 0;">\n ${Array.from(n).map((n=>`\n <div style="margin-bottom: 10px; padding: 10px; background: #f5f5f5; border-radius: 4px;">\n <strong>${n.hreflang}:</strong> <a href="${n.href}" target="_blank">${n.href}</a>\n </div>\n `)).join("")}\n </div>`:'<p style="margin: 0;">No hreflang tags found in the document.</p>'}\n </div>\n <div style="margin-bottom: 20px;">\n <h3 style="margin: 0 0 10px 0;">Validation</h3>\n <p style="margin: 0;">To validate your hreflang implementation, visit the <a href="https://www.google.com/webmasters/tools/international-targeting" target="_blank">Google Search Console International Targeting Tool</a>.</p>\n </div>\n `,e.classList.add("seo-popup"),e.appendChild(o),document.body.appendChild(e)}();
This tool streamlines your international SEO by:
- Automatically detecting hreflang tags
- Displaying all language/region variations
- Showing current page URL for reference
- Highlighting presence/absence of hreflang tags
- Working on any webpage instantly
Why Use the Hreflang Tags Checker? #
This essential tool makes international SEO verification effortless. Perfect for SEO professionals, content managers, and anyone who needs to ensure proper multilingual content handling. Simply click the bookmarklet to instantly check if a page has hreflang tags and verify all language/region variations. Helps you quickly identify pages that need international SEO improvements and ensure better content targeting across different regions and languages.
- Previous: Check Canonical Tags
- Next: Check Image Optimization