hreflang Tags
Alternate language link tags and a CSV map.
Loading tool
List each locale and its URL. Copy link tags for the head or a sitemap-style comment. Reciprocal entries are your job to keep complete.
How to use this tool
- Fill in the page details. Add the title, URL, or tags you want to preview or generate.
- Review the snippet. Check the preview or generated file in this tab.
- Copy into your site. Paste the tags or robots rules into your project.
Codes
Use ISO 639-1 language codes and optional ISO 3166-1 regions, such as en-GB. Invalid pairs are flagged but not fetched.
Frequently asked
Do I need x-default?
Useful for a language picker or a generic fallback. Not mandatory in every setup.
Should every page list every locale?
Each URL in the set should point at all others, including itself.
Can I emit HTTP headers instead?
The page focuses on HTML link tags. Header syntax is shown as a note.
Does this talk to Google?
No.
Are hreflang and canonical the same?
No. Canonical picks a preferred URL; hreflang maps languages.