preview a page in Google resultsDeveloper Tools
Previews how a title and meta description may appear in Google results.
Generate hreflang tags for a multilingual or multi-regional site from a list of languages and URLs. The hreflang generator checks every code and gives you HTML tags, an HTTP header, or sitemap entries.
Language: ISO 639-1, like en or de. Region (optional): ISO 3166-1, like GB or US. Use full URLs.
The page for everyone else, often a language picker or your main version.
Paste into the <head> of every page in the set.
Each row becomes an hreflang value: the language alone (de), or language and region joined by a hyphen (es-MX). Checks run before anything is output:
en-UK → en-GB, jp → ja, cn → zh, cz → cs.https://...). Google ignores relative hreflang URLs.The three outputs carry the same set. HTML tags go in the <head>; the HTTP Link header suits PDFs and other files; the sitemap version repeats the full set inside every <url> entry. Every page must list all the others and itself, or search engines may ignore the set.
English, British English, and German versions with an x-default:
<link rel="alternate" hreflang="en" href="https://example.com/" /> <link rel="alternate" hreflang="en-GB" href="https://example.com/uk/" /> <link rel="alternate" hreflang="de" href="https://example.com/de/" /> <link rel="alternate" hreflang="x-default" href="https://example.com/" />
en and region UK is rejected with the fix: use GB.419 (Latin America) is rejected, because Google does not support it. List es-MX, es-AR, and so on, or use plain es.zh-Hant are not supported. Use regions instead: zh-TW and zh-HK for Traditional Chinese, zh-CN for Simplified.An annotation that tells search engines which language or country each version of a page is for, so a visitor in Germany sees the German page in results and a visitor in the UK sees the en-GB one.
en-GB. The region part is an ISO 3166-1 country code, and the code for the United Kingdom is GB. en-UK is invalid and gets ignored.
The page to show when no hreflang value matches the visitor's language or country. It is usually a language picker or your main international page.
Yes. Each page in the set must include tags for all the versions, its own included. Links that are not returned from the other page are ignored.
Often used together with the Hreflang Tags Generator.
Previews how a title and meta description may appear in Google results.
Creates robots.txt rules for search and AI crawlers and tests URLs against them.
Adds utm_source, utm_medium, and utm_campaign tags to links.