ClickZM

Guides ·

How to use Hreflang Generator

Hreflang Generator. Alternate-language link tags. Yes. Every version must list all the others and itself.

Open Hreflang Generator

The short answer

To generate hreflang tags, add each language or region version of a page with its URL and set an x-default. ClickZM validates the language-region codes (en-GB, es-MX) and outputs the <link rel="alternate"> tags for every page in the set.

It runs in your browser. What you enter is not uploaded.

How to use it

Type or paste your input into the Hreflang Generator.

Choose any options you need.

See the result update instantly.

Copy the result or download it.

Limits worth knowing

Do hreflang tags need to be reciprocal? Yes. Every version must list all the others and itself. Missing return links make Google ignore the annotation.

Is en-UK correct? No. The country code for the United Kingdom is GB, so use en-GB.

Sponsored

A recommended offer

Opens in a new tab. It is separate from the calculators.

Continue

Advertisement