Free • Multilingual • Return tag check

Hreflang Validator

Paste your hreflang tags and get instant validation. Catches invalid language codes, missing x-default, malformed URLs, and duplicate entries.

STEP 1

Paste your hreflang tags

Full <link rel="alternate"> HTML lines.

STEP 2

Click validate

We check format and best practices.

STEP 3

Fix issues

Use our Hreflang Generator to rebuild.

Validate hreflang

Common hreflang mistakes

Frequently asked questions

What does the validator check?

Tag syntax, language code format, region code format, URL validity, x-default presence, and duplicate entries.

Can it check return tags?

Not from one paste. Return tag checking requires fetching each language alternate to verify reciprocity. Use Google Search Console for that.

What is x-default for?

Fallback when none of the language alternatives match the user. Usually points to the international or English version.

Why does this say my hreflang is "unusual"?

The language or region code is not in the standard short list. Verify it is a real ISO code. Some are uncommon (e.g., Catalan "ca") but legitimate.

Can hreflang go in the sitemap instead?

Yes. Hreflang in sitemap is recommended for large sites. This validator checks head tags only.