Enter the language codes and corresponding URLs.
Hreflang Generator
Generate hreflang link tags for language and country URLs.
Hreflang Generator — what does it do?
Generate hreflang link tags for language and country URLs. This tool focuses on one SEO task. Consider the results alongside your website’s overall technical context.
Explore more SEO tools →Hreflang Generator: what does it do?
Generate hreflang link tags for language and regional URL versions.
Identify important signals with hreflang generator.
Review actionable findings before changing your website.
Alternate URLs should link to each other and use appropriate language codes.
How to use Hreflang Generator effectively
Map equivalent localized pages
An English service page should generally reference its true Turkish equivalent, not an unrelated homepage. Use complete URLs and valid language or language-region tags such as en, tr or en-US.
Keep language annotations reciprocal
Each localized version should list itself and the other relevant versions. If an x-default URL is available for language selection, include it only where appropriate.
Verify implementation
Check that linked alternate pages resolve successfully, have compatible canonical targets and display the expected language. Hreflang helps Google select the appropriate version; it does not translate page content.
Hreflang Generator: reciprocal language URLs
Hreflang annotations should connect genuinely equivalent language pages. This is a worked example, not a validation of live pages.
Example input
TR: https://example.com/tr/seo-guide/ EN: https://example.com/en/seo-guide/
Example output
Each page references both language versions. For example: <link rel="alternate" hreflang="en" href="https://example.com/en/seo-guide/">
Weak implementation
Pointing a Turkish article to the English homepage, or placing the annotation on just one page without a return link.
Better implementation
Use corresponding translated URLs. Add consistent reciprocal tr/en annotations and suitable self-references on both pages.
How to interpret output
Place the tags in HTML head or use supported sitemap annotations. Verify HTTP 200, indexability and that each canonical agrees with its own language URL. Check that the mapped pages really cover the same topic.
Review checklist
- Are both URLs genuine language equivalents?
- Are annotations reciprocal?
- Are language codes well formed?
- Do canonical and redirect targets agree with the annotations?
Get started in 3 steps.
Generate the alternate link tags.
Place reciprocal annotations on every language version.