Hreflang Checker
Checks the hreflang tags on a page: valid language codes, a link to itself, full addresses, and whether the other versions link back.
Why it matters
Hreflang shows Google which language or country version to show each searcher. It is easy to get wrong, and Google ignores tags that are invalid or not returned, so people can land on the wrong version.
How to fix it
- Use a language code, then an optional country, as in en or en-GB.
- List every version on every version, including the page itself.
- Use full addresses to working pages that are their own canonical.
What a good result looks like
Valid codes, every version listing all versions including itself, full addresses, and each version linking back.
Common mistakes
- Writing en-UK, when the code for the United Kingdom is GB.
- Using a country code as the language, such as jp rather than ja.
- Adding tags on one version only, so they aren't returned and Google ignores them.
Questions about the Hreflang Checker
Do I need hreflang for a site in one language?
No. It is only for sites with versions in different languages or for different countries.
What is x-default for?
It names the page for people who match none of your listed languages, often a language picker or your main version. It is optional but useful.
Is hreflang a redirect?
No. It only suggests which version to show in search results. Visitors can still open any version, so don't force them with automatic redirects.
Check everything at once
Run our other instant checks on your site in one report.
Full SEO check-up