Hreflang checker
Hreflang checker and tag validator
Test the hreflang tags on any page. Validate every language and region code, check that each alternate links back, and see which versions redirect, fail or say noindex.
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)How to check hreflang tags
Enter a URL
Paste one language version of a page. The checker reads its hreflang links from the HTML head and the Link HTTP header.
Pick the crawler
Googlebot is the default. Pick Bingbot or another crawler if your site serves bots different HTML.
Read the set
Each hreflang code is listed with its URL. The checker validates the code and fetches every alternate, up to 20.
Fix what the checks flag
Invalid codes, missing return links, a missing self-reference, alternates that redirect, fail or say noindex each get a check.
What the hreflang checker checks
- Language and region codes
- Each code against ISO 639-1 for the language and ISO 3166-1 alpha-2 for the region, the only codes Google supports. en-UK and es-419 fail; en-GB and es-MX pass.
- Return links
- Whether each alternate lists this page back. Google ignores a pair when one side doesn't link to the other.
- Self-reference
- Whether the page lists its own URL, which Google asks every version to do.
- x-default
- Whether the set names a fallback page for visitors whose language doesn't match any version.
- Alternate status
- The status code of every alternate URL, any redirect on the way, a noindex, and a canonical that points elsewhere.
- HTML and HTTP header
- hreflang links in the head and in the Link HTTP header, and relative URLs that Google doesn't accept.
Hreflang in HTML, HTTP headers and sitemaps
Every version lists itself and all the others, with fully qualified URLs. Google treats the three methods as equivalent.
<head> <link rel="alternate" hreflang="en-us" href="https://example.com/en-us/" /> <link rel="alternate" hreflang="en-gb" href="https://example.com/en-gb/" /> <link rel="alternate" hreflang="de" href="https://example.com/de/" /> <link rel="alternate" hreflang="x-default" href="https://example.com/" /> </head>
Link: <https://example.com/en/guide.pdf>; rel="alternate"; hreflang="en",
<https://example.com/de/guide.pdf>; rel="alternate"; hreflang="de"<url> <loc>https://example.com/en/</loc> <xhtml:link rel="alternate" hreflang="en" href="https://example.com/en/" /> <xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/" /> </url>
Common hreflang errors and how to fix them
- Missing return links
- Page A lists page B, and page B doesn't list page A. Add the same full set to every version.
- Wrong codes
- en-UK in place of en-GB, a region on its own (GB), an underscore (en_GB), or a code outside ISO 3166-1 such as es-419.
- No self-reference
- The page lists the other versions but not itself.
- Alternates that redirect or fail
- A link to http when the site moved to https, a trailing-slash redirect, or a page that was removed.
- hreflang on non-canonical pages
- The page's canonical points to another URL, or an alternate's does. Annotate canonical URLs only.
- Relative URLs
- href="/de/" in place of href="https://example.com/de/". Google asks for fully qualified URLs.
Hreflang checker FAQ
More free SEO tools
- SEO Audit30 checks for crawlability, SEO, and AI readiness
- Crawler SimulatorSee what 100+ search and AI bots get from your page
- Googlebot SimulatorFetch your page as Googlebot Smartphone or Desktop
- Verify GooglebotCheck if a crawler IP really belongs to Google
- Redirect CheckerTrace redirect chains and the status code of each hop
- Robots.txt CheckerCheck which crawlers are allowed or blocked
- OG Image CheckerCheck OG images and preview social link cards
- Meta Tag AuditAudit meta tags and generate a fix prompt
- AI Readiness CheckerCheck if ChatGPT, Claude and Perplexity can read your site
- HTML to MarkdownConvert HTML or a URL to clean Markdown
- llms.txt GeneratorGenerate and validate an llms.txt file
- Canonical URL CheckerCheck canonical tags and their targets
Related guides
“Encited has become my go-to for all Lovable projects. I saw an uptick in crawls almost immediately after switching. Honestly one of the best dev/SEO tools I’ve used. Aki was also amazing on support. Love it!”






Find every redirect chain on your site
The site audit crawls every page and lists each redirect chain, loop and broken redirect, with the fix for each one.
- Redirect chains, loops and 4xx targets in one list
- Every issue comes with a recommended fix
- Copy the fixes as a prompt for your coding agent

