SEO generators · Free tool
Free Hreflang Tag Generator
Connect equivalent pages across languages or regions. Build a matching set of alternate-language tags for each localized version.
100% freeRuns in your browser
Add your details or try an example to get started.
Getting started
How to use the hreflang tag generator
- Enter a language code and URL on each line.
- Add an optional x-default destination.
- Place the complete set of tags on each equivalent page.
Put the results to work
Understand your report
Hreflang helps describe language and regional alternatives for the same content. The generator validates language-code formatting and HTTP URLs, identifies repeated codes, and outputs escaped link elements. Each localized page should include itself and the other equivalent versions.
A little more clarity
Frequently asked questions
Can I use country codes alone?
Start with a language, such as en, or a language-region pair, such as en-GB. A region by itself is not a language.
What is x-default used for?
An optional default page, such as a language selector, for users whose language does not match a listed alternative.