Hreflang Generator
Add each localized URL and get a complete hreflang set with x-default.
Language versions
Enter one complete URL for each localized version of the page.
Choose the fallback URL for visitors without a matching language or region.
Generated hreflang tags
The preview appears after all rows and x-default pass validation.
Code and URL check
Your URLs stay in your browser. Nothing is uploaded to BroBroGo.
FAQ
Which hreflang codes does this generator accept?
Use a two-letter ISO 639-1 language code, optionally followed by an ISO 15924 script subtag and/or a two-letter ISO 3166-1 region code: en, zh-Hant, zh-CN or zh-Hans-US. Letter case is normalized in the output.
Where should I place the generated tags?
Add the complete, unchanged set inside the <head> of every localized version. Each page should reference itself and all the other versions.
What should x-default point to?
Choose the page for visitors whose language or region has no exact match. A language selector, global homepage or your main language version can be the fallback.