SEO & WebTool 08
Hreflang Tag Generator
Build the block of alternate-language tags that tells search engines which URL serves which locale.
Hreflang Tag Generator
98 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Add locale and url pairs in the field above. Nothing is uploaded while you type.
Press “Generate hreflang tags”. The hreflang tags appears in the result panel instantly.
Copy the hreflang tags or download the file, then close the tab.
When to use it
International sites
Connect translated pages so each locale ranks in its own market.
Regional variants
Separate en-GB, en-US and en-AU pages that share content.
Migration checks
Rebuild tags after a URL change without missing a locale.
Questions
Should a page include itself?
Yes. Every version should list all versions, including its own locale.
What is x-default?
It marks the fallback page for users whose language does not match any listed locale.
Does this tool upload my data?
No. Everything runs in this browser tab with JavaScript, so locale and url pairs never leaves your device.
How many alternate tags should one language cluster have?
One per translated locale plus a single x-default, and every page in the cluster lists the same set including itself. A cluster that lists some pages but not others is the usual reason search engines pick the wrong version.
When is x-default used?
For the version shown when no language matches the visitor's settings, commonly a language selector or the English page. Every cluster should have exactly one x-default, pointing at a real URL.