Generate valid hreflang link tags for multilingual and multi-region pages, including x-default. Paste your language/region codes and URLs to get copy-ready tags.
Free, no sign-up — one of the SaaSQuickStart Content & SEO tools.
hreflang annotations tell Google that several URLs are the same page in different languages or regions, so it can serve the right version to each user and avoid treating them as duplicate content. The code is a language code (ISO 639-1, e.g. en), optionally with a region (ISO 3166-1, e.g. en-GB). Two rules matter most: the tags must be bidirectional (every page references every other, including itself), and you should include an x-default for users who don’t match any version. Everything runs locally in your browser.
Yes. hreflang must be reciprocal: if page A points to page B, page B must point back to A. Every URL in the set should include the full list of alternates — including a self-referencing tag for its own locale.
x-default is the fallback shown to users whose language/region doesn’t match any of your specified versions — for example a language selector page or your main international site.
Use a hyphen: en-US. The language is lowercase (en) and the region is uppercase (US). Underscores are invalid in hreflang.
Yes. Google supports hreflang via <link> tags in the <head>, an XML sitemap, or an HTTP header. Pick one method and apply it consistently — mixing them can cause conflicts.