Hreflang Tag Generator
Create hreflang tags for multi-country and multi-language pages – as HTML link tags or XML sitemap entries – with code validation.
Free, no sign-up. Runs in your browser – nothing you type is sent to our servers.
Our editors review it and distribute it to news sites in the USA, UK, UAE, India and beyond – with a report of every live link.
About this tool
Hreflang tells Google which version of a page to show in each country or language – for example your US page to US searchers and your UAE page in the Gulf. Every version must list all the others, including itself.
Frequently asked questions
What is x-default?
The page to show when no listed language or region matches – often a global or country-selector page.
Should I use language or language-region codes?
Use language-region (such as en-gb) when content differs by country, and language only (such as en) when it does not.