Skip to content
← all tools

Hreflang Tag Generator

Generate valid hreflang link tags for international SEO, including a correct x-default, from locale/URL pairs.

Hreflang tags tell Google which language and region each version of a page targets, so the right visitors land on the right URL. Add one row per locale, point each at its live URL, and set an x-defaultfor users who don't match any locale. Built for founders shipping a multi-region site without an SEO plugin.

LocaleURLRemove

The fallback URL for visitors whose language or region matches none of the above. Usually your language selector or primary version.

2 locales without a URL are skipped.

Add at least one locale with a URL (or an x-default) to generate your tags.

How it works

Paste every tag into the <head> of each language version. Each page in the set must list the full set of alternates — including a self-reference — so the mapping is bidirectional. Locale codes follow language or language-REGION (e.g. fr, en-GB, es-419). The x-default tag is optional but recommended for unmatched visitors.

get the full growth toolkit

reddit-validated weekly distribution plans, ai-visibility tracking, and more — free to start.

start free