Hreflang Tag Generator
Generate correct hreflang link tags for multilingual and multi-regional sites.
Loading tool…
About this tool
Hreflang mistakes are among the most common international SEO errors. Add each language/region version of your page and generate a complete, reciprocal set of hreflang link tags — including x-default — validated for correct ISO language and region codes.
How to use the Hreflang Tag Generator
- Add each URL with its language and optional region.
- Mark one URL as x-default for unmatched users.
- Copy the tag set into the <head> of every listed page.
Frequently asked questions
Do hreflang tags need to be reciprocal?
Yes — every page in the set must list all others including itself, or Google ignores the annotations.
What is x-default?
The fallback page shown to users whose language/region matches none of your alternates.