Back to tools

Hreflang tag generator

Create clean hreflang tags that tell Google which page to show for each visitor's language and country. Built for international SEO, for example English, French and German versions of a Swiss website.

head.html
<!-- Generated hreflang tags -->
<link rel="alternate" hreflang="en-CH" href="https://www.example.ch/en/" />
<link rel="alternate" hreflang="x-default" href="https://www.example.ch/en/" />

How do I install it? Paste these tags between the <head> and </head> tags of the pages concerned. They must be added to every page of each language version.