Measure this visit?
Accept allows Google Analytics, Microsoft Clarity and PostHog, including session recording. Reject stops their recording. Cookieless counts and server request logs stay on. What we measure
Tool
Paste an XML sitemap with hreflang alternates, or the hreflang link tags of several pages. The checker builds the set and reports problems page by page. It finds missing return links, pages that do not list themselves, URLs that are not fully qualified and values that point two ways. Every result names the line that decided it and links the Google page behind the rule. It runs in your browser. Nothing you paste is sent, fetched or stored on a server.
Google lists missing return links as a common mistake. If page X links to page Y, page Y must link back to page X. Google: Tell Google about localized versions of your page
It reads the text you paste and does not fetch your pages. To fetch a page and read what came back, use the instant audit. To check values one at a time against the ISO lists, use the hreflang code lookup.
Updated
Paste an XML sitemap with xhtml:link alternates. Or put each page's URL on its own line, with that page's link elements under it. Nothing leaves this page.
Paste a sitemap or link tags, or load an example. The result shows here as you type.
A sitemap is read as it is. Each url element is one page, named by its loc, and its xhtml:link elements are that page's alternates.
For link tags, put each page's URL on its own line, then the link elements from that page's head under it. The next URL on its own line starts the next page. Other tags in the paste are left alone.
https://example.com/en/
<link rel="alternate" hreflang="en" href="https://example.com/en/" />
<link rel="alternate" hreflang="de" href="https://example.com/de/" />
https://example.com/de/
<link rel="alternate" hreflang="en" href="https://example.com/en/" />
<link rel="alternate" hreflang="de" href="https://example.com/de/" />A paste can hold up to 300,000 characters. For a bigger sitemap, paste the entries of one set of pages at a time. A link to a page that is not in the paste is listed, and its return link is not checked.
The checker reports a problem only when it holds a Google sentence for the rule. Each statement below is ours, and under it is the sentence it rests on, as written on the linked page. We read both pages on 15 Nov 2026. Value format goes through the same parser as the hreflang code lookup, with the ISO lists that page cites.
If two pages don't both point to each other, the tags will be ignored.Google: Tell Google about localized versions of your page
Missing return links: If page X links to page Y, page Y must link back to page X.Google: Tell Google about localized versions of your page
If this is not the case for all pages that use hreflang annotations, those annotations may be ignored or not interpreted correctly.Google: Tell Google about localized versions of your page
If it becomes difficult to maintain a complete set of bidirectional links for every language, you can omit some languages on some pages; Google will still process the ones that point to each other.Google: Tell Google about localized versions of your page
Each language version must list itself as well as all other language versions.Google: Tell Google about localized versions of your page
For each variation of the page, include a set of <link> elements in the <head> element, one link for each page variant including itself.Google: Tell Google about localized versions of your page
Each <url> element must have a child element <xhtml:link rel="alternate" hreflang="supported_language-code"> that lists every alternate version of the page, including itself.Google: Tell Google about localized versions of your page
Alternate URLs must be fully-qualified, including the transport method (http/https), so: https://example.com/foo, not //example.com/foo or /fooGoogle: Tell Google about localized versions of your page
Use fully-qualified, absolute URLs in your sitemaps.Google: Build and submit a sitemap
The set of links is identical for every version of the page.Google: Tell Google about localized versions of your page
Therefore if you have 3 versions of a page, your sitemap will have entries for the URLs of each version, and each entry will have 3 identical child entries.Google: Tell Google about localized versions of your page
The set of links is identical for every version of the page.Google: Tell Google about localized versions of your page
Therefore if you have 3 versions of a page, your sitemap will have entries for the URLs of each version, and each entry will have 3 identical child entries.Google: Tell Google about localized versions of your page
The reserved x-default value is used when no other language/region matches the user's browser setting.Google: Tell Google about localized versions of your page
The first code of the hreflang attribute is the language code (in ISO 639-1 format) followed by an optional second code that represents the region code (in ISO 3166-1 Alpha 2 format) of an alternate URL.Google: Tell Google about localized versions of your page
Only language codes listed in ISO 639-1 and region codes listed in ISO 3166-1 Alpha 2 are supported; other codes that aren't listed in those standards, such as es-419, aren't supported.Google: Tell Google about localized versions of your page
The hreflang attribute's value is comprised of one or optionally two values, separated by a dash.Google: Tell Google about localized versions of your page
You can't specify the country code by itself.Google: Tell Google about localized versions of your page
You can also specify the script itself explicitly using ISO 15924, like this:Google: Tell Google about localized versions of your page
If you use codes that are listed as reserved for something else, Google Search ignores that part of the annotation (for example, using EU, UN, or UK in hreflang annotations doesn't have an effect on Google Search).Google: Tell Google about localized versions of your page
Each <url> element must include a <loc> child indicating the page URL.Google: Tell Google about localized versions of your page
Specify the xhtml namespace as follows: xmlns:xhtml="http://www.w3.org/1999/xhtml"Google: Tell Google about localized versions of your page
The checker does not flag an alternate on another domain. Nor does it flag one URL that carries two values, such as a page that is both en and en-GB. It does not ask for x-default, and it reports one only when the pages disagree about it. A value given twice on one page is not flagged either. Google's pages hold no sentence on it, so the checker only compares a value across pages.
Alternate URLs do not need to be in the same domain.Google: Tell Google about localized versions of your page
For example, if you have specific URLs for English speakers in Ireland (en-IE), Canada (en-CA), and Australia (en-AU), provide a generic English (en) page for searchers in the US, UK, and all other English-speaking locations. It can be one of the specific pages, if you choose.Google: Tell Google about localized versions of your page
The <link> tags must be inside a well-formed <head> section of the HTML.Google: Tell Google about localized versions of your page
You can return an HTTP header with your page's GET response to tell Google about all of the language and region variants of a page.Google: Tell Google about localized versions of your page
It cannot tell you what a search engine does with your set. It reads the text you paste and repeats what Google's pages say about it.
It does not fetch your pages, so it cannot see whether the link tags really sit in each page's head, or what each URL returns. The instant audit fetches one page from our server and reads its raw HTML.
It compares URLs as the URL standard writes them, so letter case in the host and a default port do not count. A trailing slash, a different scheme or a different path does count. Where a page lists a near match, the result says so.
It does not read hreflang sent in an HTTP Link header. It reads a sitemap and link tags only.
It stays in your browser. The checker makes no request with it, and closing or reloading the tab discards it. The CSV is built in your browser too. The session recording and the click analytics on the rest of this site read text off a page, so this page does not load them.
The checker reads a sitemap with its own small reader. It runs nothing in the paste, loads no file the paste names, and does not read a DOCTYPE. There is no link to share a result, because a link would carry the paste.