What is hreflang?
Hreflang is an HTML, XML sitemap, or HTTP header annotation that identifies alternate versions of a page for different languages or regions.
Quick Marketing Tools
Generate hreflang tags, XML sitemap markup, HTTP headers, x-default entries, and international SEO validation checks locally in your browser.
Generate hreflang tags, XML sitemap markup, HTTP headers, x-default entries, and international SEO validation checks.
Use the controls on this page to enter the required details, review the generated result, and copy or export the output for your workflow.
Inputs are processed in the browser where supported. Review assumptions and outputs before using the result in a report, document, or client workflow.
Continue through the SEO Tools category when the same workflow needs another check.
Hreflang is an HTML, XML sitemap, or HTTP header annotation that identifies alternate versions of a page for different languages or regions.
x-default is not always mandatory, but it is recommended when you have a global fallback page, language selector, or default page for users who do not match a specific locale.
No. This tool does not crawl external pages. It provides implementation checks and a reciprocal checklist, but live reciprocal validation requires crawling the actual pages.
Yes. Hreflang href values should use full absolute URLs, usually HTTPS, so search engines can clearly identify each alternate page.