🌐 hreflang Tag Generator
Pick a base URL and target locales to generate <link rel="alternate" hreflang="..."> tags in bulk. Auto x-default, ISO 639 + country code validation, CSV bulk multi-path mode.
✅ 100% free · no signup · runs in your browser
🔒 About Privacy
- ・URLs are never sent to any server
- ・All processing runs in your browser
- ・No signup, no login, no payment ever
Comma-separated. ISO 639-1 (en) or ISO 639-1 + ISO 3166-1 (en-US, zh-CN).
The locale settings above are applied to each URL.
📄 Generated tags
📖 How to Use
-
1
Enter base URLEnter the URL you want to localize.
-
2
Specify localesEnter target language codes comma-separated (en, ja, ko).
-
3
Get tagsPaste the generated <link> tags into each page <head>.
❓ FAQ
Is x-default required?
Not required but recommended by Google. It is the fallback shown when no locale matches.
Where should hreflang go?
HTML , HTTP header, or XML sitemap. Sitemap is easier for large sites.
Are bidirectional links required?
Yes. A→B and B→A must both declare hreflang. Google ignores one-sided links. This tool emits full bidirectional sets.
🔗 Related Tools
🐛 Found a bug or issue with this tool?
Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.