Mahade Walid

Free SEO tool

Hreflang Tag Generator

Generate valid hreflang link tags for multilingual and multi-region sites. Add each URL and language/region and copy the <link> tags, with x-default handled for you.

Generated tags

<link rel="alternate" hreflang="en" href="https://example.com/" />
<link rel="alternate" hreflang="es" href="https://example.com/es/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

Every page in a language set must list all versions, including itself, and they must point back at each other. Paste these in each page’s <head>.

What hreflang tags do

hreflang tells Google which language and region each version of a page is for, so the right version shows to the right searcher and your translated pages don’t compete with each other as duplicates. They’re essential the moment you ship the same content in more than one language or for more than one country.

The two rules people get wrong

  • They must be reciprocal. If your English page points to the Spanish page, the Spanish page must point back. One-way references are ignored.
  • Every page lists the whole set — including itself. Each URL in a language group carries the full list of alternates, self-referencing tag included, plus an x-default for unmatched users.

Where to add them in Webflow

For static pages, paste the tags into Page Settings → Custom Code → inside <head>. For CMS-driven pages, use field bindings in the Collection page’s head so each item outputs its own set. Webflow’s native Localization adds hreflang automatically — this generator is for manual setups, Weglot/Linguana edge cases, and cross-domain ccTLD structures. The full playbook is in my Webflow international SEO guide and the Localization vs Weglot vs Linguana comparison.

Validate before you ship

After publishing, confirm the tags resolve and reciprocate with a crawler (Ahrefs, Screaming Frog) or Google Search Console’s International Targeting report. A single broken return tag quietly disables hreflang for the whole cluster.

Prefer someone else does this?

Hire a Webflow developer for a flat monthly rate.

Unlimited pages. One request at a time. 48-hour turnaround. Pause or cancel any time.