🌐 hreflang Tag Generator
Generate correct hreflang tags for your multilingual / multi-regional pages — as HTML <link> tags or sitemap entries, with reciprocal links and x-default included.
Hreflang Tag Generator
Generate hreflang tags for multilingual / multi-regional pages, ready to drop into your <head> or sitemap.
⚠️ Tags must be bidirectional (return tags): every version must list all versions, including itself.
Language–region versions
<link rel="alternate" hreflang="en" href="https://example.com/en/" />
<link rel="alternate" hreflang="zh-CN" href="https://example.com/zh/" />
<link rel="alternate" hreflang="ja" href="https://example.com/ja/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/en/" />Place these <link> tags inside the <head> of every listed page.
Why it matters
hreflang tells Google which language/region version to show. Done wrong — missing return tags, wrong codes — the wrong page ranks in the wrong market, or none does.