MetaTag

Hreflang Tag Generator

Make one set of alternate links for translations and regional versions of a page. Your URLs stay in this browser.

Enter one pair per line, separated by a space or tab. Use up to 30 lines.

HTML alternate links

Generate tags to get one block for all versions of the page.

Add the same tags to each version

List every version, including the current page, with its full URL. Use a language such as en, optionally with a country code such as en-GB or a script such as zh-Hant. Add x-default if you have a fallback page.

Paste the same block inside each page’s <head> so the links point both ways. Use the final URL for each version. This tool generates tags from the list you supply.