# Hreflang and Canonical Checker

Check the hreflang and canonical setup of a multilingual page. The tool reads the canonical link and every hreflang alternate from the HTML and the HTTP Link header, validates the language and region codes, looks for x-default, a self reference and duplicates, then opens up to ten alternate pages to confirm that each answers 200 and links back.

## Frequently asked questions

### What are return links and why do they matter?

If page A lists page B as an alternate, page B must list page A as well. Google ignores hreflang annotations that are not confirmed from the other side, so a missing return link breaks the pair. The tool opens each alternate and checks that it links back to the page you entered.

### Which language codes are valid?

A language code such as en or de, optionally followed by a script such as Hant and a two-letter region such as GB or US, or x-default. Common mistakes are en-UK instead of en-GB, jp instead of ja for Japanese, and region-only values. The tool checks the codes against the language, script and region names the runtime knows.

### What is x-default for?

x-default names the page to show when no listed language matches the visitor, often a language picker or the English version. It is optional but recommended, so its absence is a warning.

### Why does the canonical matter for hreflang?

hreflang should point to canonical URLs. If a page's canonical points to another URL, search engines treat that other URL as the real page and may ignore the hreflang annotations of this one. The tool warns when the canonical of the entered page or of an alternate points elsewhere.

### Does the tool read hreflang from sitemaps?

No. It reads link elements in the HTML head and the HTTP Link header. If you declare hreflang in an XML sitemap instead, check the sitemap with a sitemap validator.

### Why are only ten alternates checked?

Each alternate needs its own request, so the tool fetches at most ten to keep the check quick and light on the site. All alternates are still listed and validated for their codes and URLs, and the result says how many were not opened.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
