Paste URLs, set priority, frequency and lastmod, download sitemap.xml.
Hreflang Tag Generator
Generate hreflang tags for multilingual and multi-region sites with language and region code validation, x-default, and output as HTML link tags, XML sitemap entries, HTTP Link headers or Shopify Liquid.
Runs locally — nothing is uploadedLanguage versions
one row per URLOutput
How to use Hreflang Tag Generator
- Add each language/region version with its full URL.
- Choose the x-default page.
- Copy the format you need and add the same set to every version of the page.
FAQ
What is x-default?
The fallback for visitors whose language or region doesn’t match any version — often the main site or a language selector.
Should I use en or en-GB?
Use a plain language code when one page serves all speakers, and add region codes only when content differs by country (prices, spelling, shipping). A plain fallback such as en alongside en-GB is a good idea.
Do I need this on Shopify?
Usually not — Shopify adds hreflang tags for published languages and markets automatically. Use the generator for custom setups or to check what should be there.
About the Hreflang Tag Generator
Tell Google which page to show in each language or country — for example en-AE and ar-AE for a UAE store. Add the URLs to an XML sitemap, check canonical and meta tags with the Meta Tag Generator and redirect old regional URLs with the Bulk Redirect Generator.
Also useful: Schema Markup Generator · Slug Generator
Popular searches
People find Hreflang Tag Generator by searching for:
- hreflang generator
- hreflang tags
- hreflang sitemap
- x-default hreflang
- hreflang checker
- shopify hreflang