Seitenreport - SEO and Website Analysis
Seitenreport
SEO & website analysis since 2007
Free of charge
Creating hreflang tags
For international websites
Copy or download directly

Hreflang Generator for international and multilingual sites

Free generator · without registration

Create a clean hreflang tags for language and country versions of your website – including x-defaultclean output for the <head> and faster adoption in CMS, templates or QA.

What is produced?
The tool creates technically clean <link rel="alternate" hreflang=...">Tags for different language and country versions of a URL.
For language versions
For example, de, en or fr neat excel.
For country variants
For example, de-DE, de-AT or en-US are correctly depicted.
For x-default
Optionally supplement the default landing page.
For CMS & Templates
Directly usable in HTML, head templates and QA.
Creating hreflang tags

Enter the language or country versions for which hreflang tags should be generated.

Preview

The generated hreflang tags for the HTML head.

No preview yet

Enter the language and URL versions and click on “generate reflang”.

What is hreflang?

hreflang is an HTML link attribute that allows search engines to identify which language or country version of a page is intended for which users. This is especially important for international, multilingual or regionalized websites.

Marking language versions

For example, assign German, English or French clean.

Differentiate country variants

For example, de-DE, de-AT or en-GB delimit each other.

Cleaning up international signals

So that the appropriate versions can be arranged better.

When does a hreflang generator make sense?

The tool is particularly useful if several language or country versions are available and hreflang tags are to be generated technically clean. This is especially true for international websites, shops, CMS projects, relaunches and QA processes.

For multilingual websites

If the same content is offered in several languages.

For country versions

If there are regional variants for markets such as Germany, Austria or Switzerland.

For CMS and templates

If hreflang tags are to be generated cleanly and transferred to templates.

For technical QA

Before live or after template changes, the tags can be checked quickly.

Typical errors in hreflang tags

hreflang problems often arise due to incorrect language codes, missing references, incomplete sets or inconsistent assignment between language and country versions.

Wrong codes

Language or region codes are often spelled inconsistently or technically misspelled.

Referrals are missing

hreflang sets should be complete and mutually consistent.

Wrong URL assignment

If language or country versions point to the wrong URLs, the signal becomes unclear.

x-default unclearly used

The standard version should be chosen consciously and not randomly set.

Best Practices for hreflang

1) Clean up language and country codes

Only use technically appropriate codes such as de, de-DE or en-US.

2) Connect all versions consistently

hreflang works best as a complete, clean set.

3) Check for rollout

After deployment or template updates, the output should be controlled.

What you should pay particular attention to

  • Use only valid language and region codes
  • Referencing all variants completely and consistently
  • always consider hreflang together with canonical and URL structure
  • After live play, check whether the tags are really output correctly in the head

FAQ: Hreflang Generator

Frequent questions about hreflang tags, language and country versions as well as the technical award of international sites.

What is a hreflang generator?

A hreflang generator creates the appropriate <link rel="alternate" hreflang=...">Tags for language and country versions of a page.

What does hreflang do?

hreflang signals which language or country version of a URL is intended for which users.

When do I need hreflang?

hreflang is particularly relevant if content is available in several languages or for several country versions.

What is x-default?

x-default is a default landing page for users if no specific language or region version fits.

Where are hreflang tags installed?

hreflang tags are typically used in <head> built-in an HTML page.

Can I combine language and country codes?

Yes. Typical combinations are, for example, de-DE, de-AT or en-US.

When is a hreflang generator particularly useful?

The tool is particularly useful for international websites, shops, CMS projects, relaunches and QA processes.

When is a hreflang generator no longer sufficient?

If additional canonicals, indexing, URL structure, internal linking or technical internationalization problems have to be checked, a generator alone is no longer sufficient.

Appropriate Next Checks

hreflang tags should not be considered in isolation. Depending on the case, it is usually worth looking at canonicals, indexability, status codes or international URL structures.

Connecting three regional versions

Practical example · for illustration

Starting position

Use de-DE → https://example.org/de/, de-AT → https://example.org/at/ and en-GB → https://example.org/uk/.

Classify the findings

The set assigns an absolute URL to each language/region identifier. A common language alone does not mean that the content is interchangeable.

Specific amendment

Install the complete set including self-reference on each associated page; connect only content corresponding variants.

Control and border

With the Hreflang Checker, check back references, accessibility and canonicals. The generator cannot confirm the published reciprocity.

For the next check: Save this free tool in the browser as a bookmark (Ctrl+D or ➳D).