Hreflang Generator
<link rel="alternate" hreflang> tags for every language version of a page
Why people choose us
Private by design
Your input is processed securely and never sold. Client-side tools never leave your browser at all.
Instant & free
No installs, no waiting. Results in seconds, right in your browser, on any device.
Free forever
No sign-up, no watermarks, no limits. All client-side tools are free to use as much as you like.
Frequently asked questions
What format should a language code be?⌄
A 2–3 letter ISO 639-1 language code, optionally followed by a hyphen and a 2-letter ISO 3166-1 region code — e.g. "en", "pt-BR", "zh-TW". Region alone (without a language) isn't valid.
What does x-default do?⌄
It marks the page search engines should show visitors whose language doesn't match any of your listed hreflang entries — commonly a language-selector page or your default-locale version.
Do hreflang tags need to be reciprocal?⌄
Yes — every page in the set should link to every other page (including itself), or search engines may ignore the annotations. Each page you generate tags for needs the same tag block, just with the current page's URL included.
Related tools
Related tools
Meta Tags Generator
Title, description, keywords, canonical and robots meta tags with a live Google search preview
Social Share Preview
Open Graph + Twitter Card tags with a live Facebook/Twitter-style preview card
Robots.txt Generator
Per-crawler Allow/Disallow rules and sitemap links, ready to paste