Free tools · No account needed
hreflang tag generator and return-link checker
hreflang tells Google which page to show to which language and region. Google ignores the tags when the code is wrong or when two pages do not point to each other. Type each version as a code and a URL to get the tags in all three formats Google reads, or paste the tags from several pages to find the missing return links. We built it for our own site, which runs in 30 languages.
- HTML head, XML sitemap and HTTP header formats
- Codes checked against Google's rules
- Missing return links found across pages
01 / HOW IT WORKS
How to use hreflang Tag Generator and Checker
-
List each language version
One per line: a code and the full URL, such as en https://example.com/ or ko-KR https://example.com/ko/ (you can also build the list from a URL pattern with {lang}).
-
Fix the codes and pick x-default
The tool flags codes Google does not support (a country alone, en-UK, es-419, en_US), repeated codes and relative URLs. Set x-default to the page for visitors whose language you do not list.
-
Copy one format and check the pages
Copy the HTML tags into every version's <head>, or the sitemap or header form. After publishing, paste what each page carries into the return-link check.
02 / FAQ
Questions
What happens if return links are missing?
Google says: "If two pages don't both point to each other, the tags will be ignored." Each language version must list itself and every other version, so the same set of tags goes on every page. The return-link check shows which page is missing which link (Google Search Central, read 20 November 2026).
Which language and region codes does Google accept?
Languages in ISO 639-1 (two letters, such as en, ko, ja), optionally followed by a region in ISO 3166-1 alpha-2 (en-GB, pt-BR) or a script in ISO 15924 (zh-Hant, zh-Hans-US). Google says a country code by itself is not valid, codes such as es-419 are not supported, and EU, UN or UK have no effect: the United Kingdom is GB. Upper or lower case does not matter.
Do I need x-default?
Google describes x-default as the value "used when no other language/region matches the user's browser setting". Its guide does not call it required, so the tool suggests it without marking it as an error. On our own site x-default points to the English page.
HTML tags, sitemap or HTTP header: which one?
Google calls the three methods equivalent and says using all three at once brings no benefit in Search. HTML tags are the easiest to check by viewing a page; a sitemap keeps the <head> light when you have many languages; the HTTP header is for files without HTML, such as PDFs. Pick one and keep it complete.
Do Naver and Bing use hreflang?
We could not find it in their own guides. Naver Search Advisor's webmaster guide and Bing's Webmaster Guidelines did not mention hreflang when we read them on 20 November 2026, so we make no claim either way. The rules in this tool are Google's.
Is it free? Is anything sent or stored?
It is free, with no account and no usage limit. Everything is calculated by your browser on your device; nothing you type is sent to our server or stored.
04 / START HERE
Translated pages need ads in the same language
The Cut Marketing site and studio run in 30 languages. Make product videos and images for each market from one product photo; the credit cost is shown before you generate.