Hreflang Checker
Validate hreflang tags, detect missing return links, and identify language, canonical, and redirect issues across localized pages.
Additional tools
Generate hreflang
CSV or tab-separated files use group,locale,url. Confirm the entries before generating.
| Group | Language | Script | Region | Target URL | Actions |
|---|
Source pages for this group
Apache configuration example
With mod_headers enabled, apply the directive only to the intended source pages. Review existing Link declarations before deployment.
Bulk audit
Enter up to 20 URLs from any site or import up to five sitemap XML files and choose the pages to verify.
Advanced workflows
Expected cases and deployment verification Run a test suite against a draft or a live scan.
Import CSV, tab-separated text or a saved JSON suite with up to 5,000 cases. Method is optional.
Live verification of HTML, headers and sitemaps checks up to 20 distinct page URLs in suite order. Cases outside the scan stay Not checked.
Compare reports See what changed between two snapshots or scans.
Use your live report, validated draft, saved baseline or two JSON snapshots. Coverage determines which changes can be confirmed.
Compare regions from runner files View response and redirect differences between regions.
Run php artisan hreflang:geo-report on each runner with the same URLs and language profile. Comparisons show the responses observed by those runners.
Import Search Console inspection JSON Review Google's recorded indexing and canonical signals.
Import URL Inspection API JSON on this device to see Google's recorded indexing and canonical signals for the inspected URL.
Results
Check hreflang across language and regional versions
Hreflang tells Google which URLs are language or regional versions of the same page. You can declare those versions in the HTML <head>, an HTTP Link header, or an XML sitemap. Read Google’s hreflang guidance.
Use Hreflang Checker to see which declarations a page publishes, whether its alternates link back, and which URL or locale needs your attention.
Choose how to check hreflang
-
Page URL
Start with a public page. The check reads its initial HTML and HTTP Link headers. Keep Verify alternate pages enabled to follow its declared URLs and look for return links.
-
Validate markup
Paste HTML, an HTTP Link header, or sitemap XML to check declarations before publishing. For HTML or headers, enter the source URL to check whether the page includes itself.
-
Bulk audit
In Additional tools, open Bulk audit to check a list of URLs or inspect sitemap declarations. Use Generate hreflang to draft markup from your URL and locale mappings.
Fix a missing hreflang return link
Say the English guide declares the Vietnamese guide as vi, but the Vietnamese guide leaves out the English URL. Open Return links in the report to find the affected pair.
Publish both tags in the Vietnamese page’s <head>. The en tag links back to the English guide and the vi tag keeps the Vietnamese page’s self-reference. The English page should publish the same pair. Recheck after deploying the fix.
<link rel="alternate"
hreflang="en"
href="https://example.com/en">
<link rel="alternate"
hreflang="vi"
href="https://example.com/vi">
Understand hreflang issues and warnings
Use Issues to find the affected URLs and Return links to see what each inspected page declares. Complete in scope applies to the URLs and methods included in that run.
Run a hreflang check- Invalid locale
- Start with a language code such as
enorvi. Add a region only when the page targets one, such asen-GBfor English in the United Kingdom. - Redirect or canonical warning
- Check whether the declared URL leads to the intended localized page. Review the redirect chain or canonical URL and update the declaration to the preferred localized URL where appropriate.
- Unverified return links
- Check the coverage and stop reason. If a request failed or the scan reached a limit, recheck the affected URLs to confirm whether the return links exist.
Can I audit multiple localized pages at once?
Yes. Open Bulk audit and paste or import up to 20 source URLs for a live check. You can also paste or upload up to five sitemap XML files to check return links between entries in the supplied files without fetching the pages.
Can I generate hreflang tags for my website?
Yes. Open Generate hreflang and add your localized URLs and their corresponding language or region codes. You can generate HTML tags, HTTP Link headers, or sitemap XML, preview the output, and validate the generated markup before publishing.
Can I validate hreflang before publishing?
Yes. Choose Validate markup and paste HTML tags, an HTTP Link header, or sitemap XML. Select On this device to keep the markup in your browser. For HTML or headers, enter the source URL so the checker can verify the page’s self-reference.
Is Hreflang Checker free to use?
Yes. You can check, validate, and generate hreflang declarations for free without creating an account. Live checks have scan limits to keep the tool available for everyone.
What does Hreflang Checker check?
In Page URL mode, the checker reads hreflang declarations in the page’s initial HTML and HTTP Link headers. Enable Verify alternate pages to check whether direct alternates link back and review any redirects or canonical warnings it finds.
When should I use `x-default`?
The x-default value is optional. Use it to point to a fallback page for users whose language or region has no matching version. A language selector is a common choice. Keep your language-specific declarations alongside it. Google’s x-default guidance