Free SEO & website tool

Hreflang Validator

Check one public page’s HTML hreflang declarations for duplicate codes, code format, absolute target URLs and a self-reference. Results clearly distinguish local declaration checks from unverified alternate-page relationships.

The URL is fetched by QuickToolCenter for this check. Requests are limited to public HTTP/HTTPS destinations, response size, redirect count and execution time.

Single-page declarations, with explicit limits

  • Checks codes, duplicates, HTTP(S) target URLs, fragments and a self-reference to the final fetched URL.
  • Alternate destinations and reciprocal return links are not fetched. No result establishes a valid complete language cluster.

How to use the Hreflang Validator

  1. Enter a public page URL and run the check. The server fetches its HTML through the existing public-URL safety checks.
  2. Review each discovered language and target URL, then fix duplicate codes, malformed URLs and a missing self-reference.
  3. Inspect every alternate separately for a successful response, indexable canonical URL and return links. HTTP-header, sitemap and JavaScript-injected hreflang are outside this HTML check.

What a pass actually means

Basic formatting consistency means the declarations on this one page passed the implemented checks. It does not confirm Google or Bing selected the intended language version.

Language names are checked using the runtime’s internationalization data; this is not a complete independent ISO registry audit. Equivalent content, destination status, indexability, canonicals and reciprocal links still need review.

Examples

A regional code mistake

Use en-GB for English aimed at the United Kingdom. en-UK is flagged because UK is not a supported region identifier.

A relative target

href="/fr/" is flagged; use a fully qualified target such as https://example.com/fr/.

Frequently asked questions

Does a valid code prove a correct translation?

No. Review actual page language and equivalent content yourself.

Sources & methodology

Related tools

Related SEO & website tools