Switch toolHreflang generator
Tool 06
Hreflang generator
Build the reciprocal tag set a multilingual page needs, with x-default handled correctly.
These generators run in your browser, so they need JavaScript enabled. Everything explained on this page is still readable without it.
Nothing is sent anywhere. Reload to clear.
Hreflang is only honoured when it is reciprocal: if the Indonesian page points at the English one but the English page does not point back, Google discards the pair. So this output is the same block on all of your pages, self-reference included. That is not a redundancy, it is the requirement.
Add two or more language versions.
A region without a language. hreflang="ID" is not
Indonesia, it is invalid: the language comes first, so it is id, and
Indonesian-for-Indonesia is id-ID.
Underscores. en_GB is a Java locale.
The web wants en-GB.
A missing self-reference. Each page must list itself among the alternates, or Google treats the whole set as unconfirmed.