Skip to content
🌐
Free international SEO tool

Hreflang Tag Generator

Generate reciprocal hreflang link tags for multilingual and multi-regional pages, including an optional x-default URL.

Interactive workspace

Use the hreflang generator

Runs in your browser
Generated alternate links<link rel="alternate" hreflang="en" href="https://example.com/"> <link rel="alternate" hreflang="de" href="https://example.com/de/"> <link rel="alternate" hreflang="fr-FR" href="https://example.com/fr/"> <link rel="alternate" hreflang="x-default" href="https://example.com/">

3 language alternates plus one x-default.

Why use it

Create consistent alternate-language annotations from a simple language-code and URL list, then copy the tags into every equivalent page.

  • Generate multiple alternate links at once
  • Catch invalid language-code and URL formats
  • Add an optional x-default destination
How it works

A practical three-step workflow

  1. 1

    Enter one language or language-region code and absolute URL per line.

  2. 2

    Add x-default when you have a language selector or fallback page.

  3. 3

    Place the complete reciprocal set on every alternate URL and validate it.

Turn checks into continuous monitoring

Start your free RankPortfolio trial

Connect Search Console and find opportunities across every property without repeating manual exports.

Connect Google — start free trialStart free
Frequently asked questions

Use the result with confidence

Do hreflang tags need to be reciprocal?

Yes. Each alternate page should reference the other alternates, including itself, so the relationship can be confirmed.

Can hreflang fix duplicate content?

Hreflang communicates language or regional alternates. It does not replace correct canonicals, crawlability, or genuinely localized pages.

One dashboard for every property

Go from free tools to portfolio-wide SEO action

Connect Google — start free trialStart free