Hreflang Checker
Check a multilingual page's hreflang tags, including the return links on every alternate page that most tools skip.
How to use it
- Paste one language version of a page, for example your English homepage.
- The tool reads its hreflang tags (from the HTML and the HTTP
Linkheader), validates each code, then opens every alternate page to check it links back. - Fix the red items, then check one of the other language versions too.
The rules hreflang has to follow
- Valid codes. A language from ISO 639-1 (
en,de,ja), optionally plus a country from ISO 3166-1 (en-GB,es-MX). The UK isGB, Japanese isjanotjp, and the separator is a hyphen, not an underscore. - A self-reference. Each page lists itself as well as its alternates.
- Return links. If the English page points to the German one, the German page must point back. Google ignores one-way pairs.
- Full, final URLs. Absolute
https://addresses that load directly, not redirects, and pages that are their own canonical. - An x-default for everyone else, usually your main or language-picker page. Optional, but recommended.
Why hreflang goes wrong so often
hreflang only works when every page in a group agrees with every other page, so one missing tag or typo breaks the set. Mistakes are silent: there's no error message, Google just shows the wrong language version, or treats your translations as duplicates. Checking return links is the part people skip, which is why this tool does it for you. Bing doesn't use hreflang at all and relies on the lang attribute and content language, so keep <html lang> correct as well.
Frequently asked questions
Do I need hreflang if my site is only in English?
No. hreflang is only for sites with versions of the same page in different languages or for different countries.
What is x-default?
The version shown to people whose language or country doesn't match any of your tags. Point it at your main site or a page that lets visitors choose a language.
Should I put hreflang in the HTML, the header or the sitemap?
Any one of the three works. Pick one method and use it everywhere. HTML tags are easiest to check; sitemaps are tidier for very large sites.
More free tools
Related guides
Check everything at once
RankHoot runs 60+ SEO, AI search, speed and security checks on your page and gives you copy-paste fixes.
Scan my site free