Free SEO Tool · No Signup

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.

Hreflang markup

Every version must carry the same full set of tags, including a tag pointing to itself.

How It Works

How To Use The Hreflang Tag Generator

1

List every version

Add one line per language or country version with its code and full URL.

2

Set an x-default

Choose the fallback page for visitors who match none of your versions.

3

Add tags to every version

Paste the same block on all listed pages, or use the sitemap format instead.

FAQ

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.

Want Us To Handle The Whole Thing?

These tools are a start, get a free audit and a full plan from our specialists.

Get Free SEO Audit