Start SEO check
  1. oen.de
  2. All tools
  3. hreflang Generator

hreflang Generator

Enter your language versions and copy the finished hreflang annotations. Invalid language codes and duplicates are flagged right away.

Free No sign-up No tracking.
Optional: the page for all other languages, often the English version or a language picker.
Output as

hreflang

The same set belongs on every language version, each including a reference to itself.

Once live, check it with the hreflang Checker

What does the hreflang generator create?

  • HTML: link tags for the head of every language version.
  • XML sitemap: url entries with xhtml:link for every version.
  • HTTP header: Link headers, for example for PDFs.
  • Validation: language codes per ISO 639-1 and 3166-1, absolute URLs, x-default.

Frequently asked questions

Must every page list all versions?
Yes. Every language version needs the same complete set including a reference to itself, otherwise Google ignores the annotations.
What is x-default?
The version for everyone whose language you do not offer, often the English page or a language picker.

Related tools