Hreflang tag generator

Enter equivalent page URLs and language or region codes. Generate reciprocal hreflang tags with an optional x-default version for review.

Enter ISO 639-1 language, optional ISO 3166-1 alpha-2 region and absolute URL per line. Examples: en, it-IT, pt-BR. Output is one reciprocal block for every version.

Processed in your browser: your data are not uploaded.

Set your data

Set your data

Enter ISO 639-1 language, optional ISO 3166-1 alpha-2 region and absolute URL per line. Examples: en, it-IT, pt-BR. Output is one reciprocal block for every version.

Result

Your result will appear here.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use it

Enter ISO 639-1 language, optional ISO 3166-1 alpha-2 region and absolute URL per line. Examples: en, it-IT, pt-BR. Output is one reciprocal block for every version.

Method and limits

Place the same block on all equivalent versions, including the current page. Tags do not create translations or check that URLs exist.

Sources and further reading