Do this page's language versions point to each other?
Enter one page. You get every language version it lists, whether each code is valid, and whether each version answers and links back.
What it checks
- Where the hreflang is. The
<link rel="alternate" hreflang>tags in the page, and theLinkresponse header. - Each code. A two-letter language (ISO 639-1), then optionally a script and a two-letter region (ISO 3166-1), or
x-default. It catchesen-UK(the region isGB),grfor Greek (the language isel), a country on its own and an underscore in place of the dash. - The set. The page lists itself, no code names two different addresses, every address is written in full with http or https, and there is an
x-default. - The link back. It opens every version the page lists and looks for a line that points back to the page you started from. Google's documentation says that when two pages do not both point to each other, the tags are ignored.
- Each version itself. It answers 200, its canonical names itself, and it is not set to noindex. A version that cannot be indexed, or that hands its place to another address, has nothing to offer a searcher in that language.
What it can't see
Google accepts hreflang in three places: the page's HTML, the HTTP headers and the XML sitemap. This tool reads the first two. If your site keeps its hreflang in the sitemap, the answer here will be that the page has none.
It reads the HTML as the server sends it. Tags that JavaScript adds after the page loads are not seen.
It starts from one page and checks that each version links back to that page. It does not compare every version with every other one. To check another version's own list, run it again from that address.
It does not read the text, so it cannot tell whether a page marked as Greek is really written in Greek. And some sites refuse automated visitors: a version that answers 403 here may open normally for Google and for people.
Questions
Does every code need a region?
No. A language on its own, such as el, is a complete code. Add a region only when you have different pages for the same language in different countries, such as en-GB and en-US. The opposite does not work: a region on its own is not a valid code.
What is x-default for?
It names the page for visitors whose language matches none of your versions. Google recommends adding one. It usually points to the page where people choose a language, or to the version you want as the fallback.
Why is en-UK wrong when everyone says UK?
Region codes come from the ISO 3166-1 list, where the United Kingdom is GB. Google's documentation names UK as a code that has no effect in Search. Greek trips people up the same way: the language is el, while GR is the country, so Greek for Greece is el-GR.
Why does the canonical matter for hreflang?
Google's guidance on canonicals says to choose a canonical page in the same language. A Greek page whose canonical names the English page is telling Google that the English address is the one to keep, which works against listing the Greek page as a version of its own.