Check hreflang before it goes live, or audit what is live now. Load a mapping sheet, a Screaming Frog export or an XML sitemap and get every invalid code, missing return link and conflict in one table. Then see each page set as a language matrix and download clean annotations.
A CSV or TSV, rows pasted from a spreadsheet, or an XML sitemap with xhtml:link entries. Column names don't matter.
xhtml:link rel="alternate".Detected automatically. Change the layout or any column role if something was guessed wrong.
/de and /de/ are different pages here. Near misses are still pointed out in the findings.
| Page to fix | Hreflang | Alternate URL | Issue | Details |
|---|
Clean exports resolve conflicts by majority within each page set and leave out invalid codes. Review the errors first.
This checks the annotations in your file, not live pages. Nothing is uploaded: the file is read and processed in your browser.
Every annotation becomes an edge from a page to one of its alternates. All edges go into one graph, so the tool can see each complete page set, which the matrix view calls a cluster, and check it as a whole instead of row by row.
zh-Hant. Common mistakes come with a suggested fix./en versus /en/.A findings list tells you what is wrong. The matrix shows you where. Each page set gets a grid: pages down the side, hreflang codes across the top. A complete, healthy set is a solid block of ticks. A missing return link, a wrong URL or a hole in the set stands out immediately, and hovering a cell shows the exact URL and the reason.
For each code, the expected URL is the one most pages in the set agree on, with a page's own self-reference as the tie-breaker. That is also how the clean exports are built.
Google reads the value as a language, optionally followed by a script and a region. Codes are case-insensitive, so en-gb and en-GB are the same. These are the mistakes that show up most often in real projects:
| Written as | Problem | Use |
|---|---|---|
en-uk | UK is not an ISO 3166-1 code. | en-GB |
en_US | Underscore instead of a hyphen. | en-US |
us, at | Region without a language. | en-US, de-AT |
us-en | Region and language reversed. | en-US |
uk for Britain | uk is Ukrainian. | en-GB |
es-419 | Valid BCP 47, but Google only reads two-letter regions. | es or per-country codes |
en-eu | The EU is not a country. | en or x-default |
eng, deu | Three-letter ISO 639-2 codes. | en, de |
The most common audit format: page URL, hreflang code, alternate URL. A page language column is optional and gets its own check. Columns are recognised from their values, so the headers can say anything.
The format most migration plans and translation trackers use: each row is one piece of content, each column header is an hreflang code, each cell is the URL for that version. Every URL in a row is assumed to carry the full set of annotations for that row, which is exactly what the implementation should produce.
Export Hreflang › All. Address becomes the page and every HTML hreflang N and HTML hreflang N URL pair becomes one annotation. Sitemap hreflang columns from a sitemap crawl are read the same way.
Paste or upload a sitemap that uses xhtml:link rel="alternate". Each <loc> is a page and each link one of its annotations. Sitemap index files are not followed, so load the child sitemap that holds the hreflang entries.
It validates annotations, not the live site. It does not request any URL, so it cannot see whether an alternate redirects, returns a 404, is noindexed or canonicalises somewhere else. Google ignores hreflang to any of those. Crawl the URLs in your export with Screaming Frog, check status and canonicals, then run the Hreflang › All export through this validator.
No. The file is read and processed by JavaScript in your browser. Nothing is sent to a server, so unreleased URL structures and client data stay private.
Crawl the site with hreflang extraction enabled, open the Hreflang tab and export All. Address becomes the page, and every HTML hreflang N and HTML hreflang N URL pair becomes one annotation. Sitemap hreflang columns work the same way.
Google's documentation asks every language version to list itself as well as all other versions. In practice a missing self-reference rarely breaks a cluster on its own, so the validator reports it as a warning rather than an error.
No, it is optional. It tells search engines which URL to show users whose language or region matches none of your versions, usually a language selector or the main international page. The validator lists page sets without one as a notice.
Yes, as long as it is the same language. One English page can serve en, en-GB and en-IE. The validator only flags a URL that is assigned two different languages, such as de and fr.
No. It validates the annotations in the file and does not request any URL. Hreflang pointing to redirected, non-200 or canonicalised URLs is ignored by Google, so crawl the URLs in the export as well before launch.
I audit hreflang, canonicals and international targeting across every market, find the clusters Google is ignoring, and hand your developers a mapping they can implement without guessing.
I use analytics cookies to see which pages help and which don’t. None are set until you choose. Privacy policy