Hreflang checker
Hreflang tells Google which language or country version of a page to show each searcher. It only works when every version lists all the others and itself, the codes are valid, and each URL loads directly. This checker reads the hreflang annotations of a page, from HTML link tags and the HTTP Link header, then opens each alternate URL to confirm it returns 200, doesn't redirect, links back to the page you entered and isn't canonicalised elsewhere. Problems are listed with the exact URL, and you get the corrected tags to copy.
Our server fetches the public address you enter, as any visitor’s browser would, and sends back only the findings. It refuses private and internal addresses, keeps nothing, and limits how many checks each visitor can run.
How to use the Hreflang Checker
- 1
Enter a page URL
Any language version of the page, such as https://example.com/de/.
- 2
Check
Our server reads the hreflang tags and opens each alternate (up to 20).
- 3
Read the table
Every row should load (200), not redirect, and link back.
- 4
Fix and copy the tags
Correct the problems listed and use the generated tags on every version.
What a valid hreflang set needs
Codes are an ISO 639-1 language (en, de, zh), optionally a script (zh-Hant) and an ISO 3166-1 region (en-GB, pt-BR). x-default marks the page for everyone else. 'en-UK' is a common mistake: the region code for the United Kingdom is GB.
Each version must list every version including itself, and each listed URL must link back (return links). Google ignores hreflang pairs that aren't confirmed from both sides, as well as URLs that redirect or point their canonical somewhere else.
When to use it
- Audit a multilingual or multi-country site after launch.
- Find out why Google shows the wrong country version.
- Check hreflang after a CMS or URL change.
Limits
- Hreflang in XML sitemaps isn't read; only the page's HTML and HTTP headers.
- At most 20 alternates per check.
- Pages that block data-centre traffic can show as broken.
Privacy
The page is fetched by toolstome's server; nothing is stored and private or internal addresses are refused.
Frequently asked questions
What is hreflang?
An HTML attribute (rel="alternate" hreflang="…") that tells search engines about translated or regional versions of a page, so each searcher gets the right one.
What are hreflang return links?
If page A lists page B as its German version, page B must also list page A. Without this confirmation, Google ignores the annotation.
Do I need x-default?
It's recommended. x-default tells Google which page to show to users whose language or region isn't covered, often a language selector or the English page.
Is en-UK a valid hreflang code?
No. The region code for the United Kingdom is GB, so use en-GB. 'uk' is the language code for Ukrainian.
Should hreflang URLs be canonical?
Yes. Each URL in the set should be the canonical version of that page, return 200 and not redirect.
Does hreflang help rankings?
It doesn't raise rankings, but it makes sure the right language version is shown, which improves clicks and avoids versions competing with each other.
Related tools
- Hreflang Tag GeneratorCreate correct hreflang tags for every language and region version of a page.
- Canonical URL CheckerCheck a page’s rel=canonical tag, where it points and whether the target is a working page.
- Redirect CheckerFollow a URL’s redirects hop by hop and see each status code, the final page and any problems.
People also use
- Meta Tag GeneratorTitle, description, Open Graph and X tags with a live search preview.
- Robots.txt Generator & TesterBuild a robots.txt, block AI crawlers, and test URLs against the rules.
- Keyword Density CheckerMost frequent words and phrases in your text, with density.
- UTM BuilderTag links with UTM parameters for Google Analytics.
Last updated November 30, 2026 · How we build and test our tools