Skip to content
mistakes.show
793Kissues on 68,769 sites
  1. Home
  2. Tools
  3. hreflang generator
Runs in your browserSEO & publishing

hreflang generator

One version per line: language code and URL, e.g. "en-GB https://example.com/uk/".

Runs locally — nothing is uploaded
Result
Nothing yet — enter data or press Example.

How to use

  1. 1List every language or country version with its URL.
  2. 2Add an x-default page for everyone else.
  3. 3Place the same full set on every listed page.

Country codes follow ISO 3166, where the United Kingdom is GB.

Yes. Annotations must be reciprocal and each page should include itself, or search engines may ignore them.

Found mistakes on your site?

We can fix them in one sprint. Reply within one business day.