Skip to content
Free SEO tool

Hreflang Tag Generator

Generate hreflang link tags for every language and region version of a page, including x-default, so search engines show the right version to each visitor.

Free, no signup Runs in your browser Instant results

Details

Language versions

Output

    Quick answer

    What is hreflang?

    Hreflang is a link tag that tells search engines which language or regional version of a page to show each searcher, for example en-IN for English in India and ta-IN for Tamil. Every version must list all versions, including itself, plus an x-default fallback.

    About the Hreflang Tag Generator

    Hreflang tells Google which language or regional version of a page to show each searcher. A Tamil Nadu business with English and Tamil pages, for example, can point Tamil searchers to the Tamil version instead of letting both compete.

    The tags must be reciprocal: every version lists every other version and itself. The x-default entry names the page for anyone whose language you do not cover. Mistakes here are common and silent, so check them in Search Console after publishing.

    How to use the Hreflang Tag Generator

    1. Add each language or region code with its URL.
    2. Choose the x-default URL.
    3. Copy the tags into the head of every version.

    Questions

    Do all versions need the same tags?

    Yes. Every version must list all versions, including itself, or search engines may ignore the set.