SEO Tools

Hreflang checker.

Paste a page source, HTTP Link header, or XML sitemap entry. Check language-region syntax, x-default, self-reference, clean canonicals, and reciprocal links — then copy the corrected alternates.

Paste-firstNo remote fetchHTML · HTTP · XML

How to check hreflang tags

  1. Optionally enter the page URL to check the self-reference and canonical. No request is made.
  2. Choose the source format: HTML link tags, an HTTP Link header or XML sitemap entries.
  3. Paste the source or upload it. To check reciprocity across pages, separate HTML blocks with hreflang-page comment markers.
  4. Press Check hreflang and copy the corrected alternates.

Common hreflang mistakes

Hreflang tells search engines which version of a page is meant for which language and region. The usual errors are invalid codes, such as a region on its own or the wrong case, missing return links, so the German page points to the English one but not the other way round, a missing self-reference, a missing x-default fallback and alternates that conflict with the canonical. Google accepts values such as en, en-CA and x-default.

The checker flags missing, duplicate, mis-cased and unsupported values, reviews x-default and self-references, tests reciprocal links when your source contains several pages, and compares the canonical in pasted HTML. It does not fetch your pages, so it cannot see what is live; paste the source you want checked.

Checked on your device

The checker runs in your browser, inside an isolated frame on this page that has no network access. Your file is read and written back by your own device, so it is not uploaded to TNAADO or anyone else, and nothing is stored. The advertising on this page sits outside the frame and cannot see what you choose. Unpublished page sources are not uploaded.

What this checks

Language and region

Flags missing, duplicate, mis-cased, or unsupported language-region values. Google-compatible values look like en, en-CA, or x-default.

Cluster health

Checks x-default, the supplied page's self-reference, and reciprocal links when the pasted source contains multiple sitemap entries or marked HTML blocks.

Canonical alignment

Reads a canonical from pasted HTML only and flags non-absolute, mismatched, or query/fragment URLs. Canonicals should stay clean and page-specific.

Hreflang questions

Does this tool fetch my website?

No. Paste or upload source text. The tool never requests the page URLs, so it works with private staging pages and avoids sending your markup to a server.

Do I need all three formats?

No. Use the format your site publishes. HTML link elements, HTTP Link headers, and sitemap xhtml:link entries are alternate delivery methods; the language set should stay consistent.

Why does it warn about reciprocity?

Each regional page in a cluster should point to the other regional pages. Paste the related pages together, or paste a sitemap with several <url> entries, for a local return-link check.

Standards and guidance

Advertisement
Advertisement