Hreflang Tag Generator

1Your page versions

Add one row for each version of your page. Pick the language and country it targets, or paste your URLs or existing tags with Add many at once.

Example data. These rows use example.com so you can see how it works. Replace them with your own page.

How are your country versions set up?

    2Fallback page (x-default)

    This is the page Google shows to visitors whose language or country matches none of your versions. Most sites use their global page or a language selector.

    3Your hreflang tags

    HTML
    
        

    Checks

    How to add the tags to your site

    1. Copy the codeUse the HTML tags for normal web pages. Pick one method only: HTML tags, XML sitemap or HTTP header.
    2. Paste it on every versionThe same block goes inside the <head> of each page listed above. On WordPress, use your SEO plugin or a header code plugin.
    3. Check the return tagsEvery version must list itself and all the others. If one page is missing the block, Google ignores the pair.

    Taking your site to more countries?

    Hreflang is one piece of international SEO. Learn the rest step by step with Mohit's SEO Training.

    Explore the training