Hreflang Tag Generator
SEOGenerate hreflang tags for multi-language and multi-regional website versions.
Hreflang Tag Generator
Generate hreflang tags for multilingual and international SEO
The root domain for your site
The ★ mark indicates the x-default page (shown to users with no matching language)
<link rel="alternate" hreflang="en-US" href="https://example.com/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />
<link rel="alternate" hreflang="es-ES" href="https://example.com/es/" />
<link rel="alternate" hreflang="fr-FR" href="https://example.com/fr/" />
<link rel="alternate" hreflang="de-DE" href="https://example.com/de/" />Always include x-default: The x-default hreflang indicates which page to show users when no language matches their browser settings.
Bidirectional linking: Each language version should link to all other versions, including itself.
URL consistency: Use consistent URL patterns across all language versions (e.g., /es/, /fr/, /de/).
Return tags:Ensure both <link> tags and sitemap entries reference each other correctly.
Note:Place these tags in the <head> section of each page. For XML sitemaps, include the xhtml namespace and list all language variants.