Generate correct hreflang tags for multi-language and multi-region sites — pair each locale with its URL and copy the link tags into your <head>.
The Hreflang Tag Generator builds the <link rel="alternate" hreflang="…"> tags that tell Google which language and region version of a page to show each searcher. Add a row per locale (e.g. en-us, en-gb, fr-fr), paste each version's URL, optionally add an x-default, and the tool outputs the full, correctly-formatted set.
Hreflang is powerful but unforgiving — wrong language codes, missing return tags or absolute-URL mistakes silently break it. This generator enforces the right syntax so you don't have to memorise ISO codes or worry about formatting. Remember the golden rule: the same set of tags must appear on every alternate page (return tags), so they all reference each other.
Add a row for every language/region version you publish.
Include an x-default tag for users who don't match any locale.
Correct rel="alternate" hreflang link tags, ready to paste.
For each version, enter its hreflang code (e.g. en-gb) and full URL.
Grab the generated set of link tags.
Paste the same set in the of every alternate page so they reference each other.