SEO
Hreflang Tag Generator
Generate valid hreflang tags for international SEO with x-default support — copy-ready for your <head>.
Output
<link rel="alternate" hreflang="en" href="https://example.com/" /> <link rel="alternate" hreflang="en-gb" href="https://example.com/en-gb/" /> <link rel="alternate" hreflang="x-default" href="https://example.com/" />
FAQ
What is x-default?+
x-default tells Google which URL to serve when no language/region matches — usually your global or English homepage.
Do I need reciprocal tags?+
Yes. Every URL in the hreflang cluster must reference all other URLs including itself, or Google may ignore the annotations.
Language codes?+
Use ISO 639-1 for language (e.g. en) and optionally ISO 3166-1 Alpha 2 for region (e.g. en-US, en-GB).