Hreflang checker: test return links and language codes
Enter a page to check its hreflang tags: return links, self-references, x-default, language codes, canonicals and alternates that don't answer 200.
FreeNo account neededFetches up to 20 alternates
Limits
- Alternates fetched
- up to 20
- Reads
- HTML <head> + Link header
- Alternates’ redirects
- not followed
- XML sitemaps
- not checked
- Output
- Matrix, issues per page
Return links: every alternate links back to the page that lists it.
Self-references and x-default in the set.
Valid language and region codes.
Canonicals that point elsewhere, and alternates that don’t return 200.
01How it works.
- 01
Reads the annotations
We fetch the page and read rel=alternate hreflang links from its HTML <head> and from the HTTP Link header (used for PDFs and other files).
- 02
Fetches every alternate
Each alternate URL (up to 20) is fetched without following redirects, and its own hreflang set and canonical are read the same way.
- 03
Checks the set
The matrix shows which page declares which language. Missing return links, missing self-references, no x-default, invalid codes, canonicals pointing elsewhere and non-200 alternates are listed per page.
02Questions.
If page A lists page B as an alternate, page B must list page A too. Google ignores annotations that aren't confirmed from both sides, so a missing return link breaks that pair.
Yes. Each language version should list every version, including itself. The set should be identical on every page of the group.
The language in ISO 639-1 (en, de, pt), optionally followed by a region in ISO 3166-1 alpha-2 (en-GB, pt-BR), plus x-default for the fallback page. Common mistakes are en-UK (use en-GB), underscores (en_US) and region-only codes.
No. Hreflang can also be declared in an XML sitemap with xhtml:link elements; this tool reads only the HTML <head> and HTTP Link headers of the pages. If your site uses sitemaps for hreflang, check those separately.
More free tools.
All tools- Reads public sitemaps
Website page counter
List every URL a site's XML sitemaps contain, with counts per sitemap and per folder, and download them as CSV.
Open the tool - Runs in your browser
Search Console regex tester
Check a Custom (regex) filter against sample queries or URLs with RE2, the engine Search Console uses. 15 presets included.
Open the tool - File stays in your browser
CTR curve and visibility score calculator
Build your own CTR-by-position curve from a Search Console export, find queries below it and get a visibility score.
Open the tool - Runs in your browser
SERP snippet preview
Measure a title and meta description in pixels, preview them at desktop and mobile widths and see where they get cut.
Open the tool - RFC 9309 matching
Robots.txt tester
Test a URL against a site's robots.txt for Googlebot, Bingbot or any crawler, with the deciding rule highlighted. Or paste a file.
Open the tool - Follows up to 10 hops
Redirect checker
Trace a URL's redirects hop by hop with status codes and timings, and spot chains, loops, http/https mixes and meta refreshes.
Open the tool
Connect Search Console to see this for every page, daily.
Daily Search Console data for positions, clicks and CTR on every page, with alerts. Free plan, no card.