Free Hreflang Tag Generator
List each language or country version of a page and get the full set of hreflang tags, with x-default, ready for your head or XML sitemap.
Every version must carry the same full set of tags, including a tag pointing to itself.
How To Use The Hreflang Tag Generator
List every version
Add one line per language or country version with its code and full URL.
Set an x-default
Choose the fallback page for visitors who match none of your versions.
Add tags to every version
Paste the same block on all listed pages, or use the sitemap format instead.
Hreflang Tag Generator Questions
A two letter ISO 639-1 language code, optionally followed by a two letter ISO 3166-1 country code, for example en-au or fr-ca.
It is optional but recommended. It tells search engines which page to show users whose language or region you have not targeted.
Both work. Sitemaps are easier to maintain on large stores, while HTML tags are simpler for small sites.
Keep Going With These
301 Redirect Generator
Turn a list of old and new URLs into .htaccess, Nginx or Shopify redirect rules.
Open Graph Generator
Create Open Graph and X card meta tags so shared links look right everywhere.
Local Business Schema Generator
Build LocalBusiness JSON-LD with address, hours and profiles for local SEO.
Want Us To Handle The Whole Thing?
These tools are a start, get a free audit and a full plan from our specialists.