Build a reciprocal hreflang set for a multilingual page.
What to serve a visitor whose language matches nothing in your list.
4 hreflang tags for 4 languages
hreflang only works when it is reciprocal. Every page in the set must carry the full list including a tag pointing at itself, and if one page in the group omits the others, search engines discard the relationship rather than guessing at it. Adding an x-default is worth doing: it tells search engines what to serve to a visitor whose language matches nothing in your list. Region codes are optional and often overused, since en-GB and en-US only need separating when the pages genuinely differ.
<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="fr" href="https://example.com/fr/" />
What this cannot tell you
Take this with you
hreflang Tag Generator on RunTheTests — free browser-based seo tools, no sign-up.