Skip to main content
Free Tool

Canonical Tag Checker

Check the rel="canonical" tag for any URL. Detect missing, multiple, relative, and cross-domain canonicals, compare HTML tags with HTTP Link headers, and follow redirects to verify canonical consistency across the full redirect chain.

Free·No signup·Single & bulk check·HTML + HTTP Link detection·SEO scoring·Export CSV, JSON, TXT

Features

What the Canonical Tag Checker detects and reports.

HTML Canonical Detection

Extracts all <link rel="canonical"> tags from the page HTML. Detects absolute, relative, self-referencing, cross-domain, and malformed canonicals. Flags empty href attributes and tracking parameters.

HTTP Link Header Check

Inspects the HTTP Link: rel="canonical" header and compares it with the HTML canonical. Alerts on mismatches. HTTP Link canonicals are commonly used for non-HTML resources such as PDFs.

Redirect Chain Awareness

Follows HTTP redirect chains to the final destination before analyzing the canonical tag. Compares the requested URL, final URL after redirects, and canonical URL to detect inconsistencies.

SEO Health Scoring

Dynamic scoring based on canonical presence, correctness, consistency, and page status. Includes a full breakdown of contributing factors — from missing canonicals to HTML/HTTP mismatches.

Actionable Recommendations

Context-aware suggestions generated from detected issues. Only recommendations that apply to the specific analysis are shown — no generic advice.

Bulk Checking & Export

Check up to 500 URLs at once with automatic duplicate removal and invalid URL filtering. Filter results by status and export as CSV, JSON, or TXT for reporting.

How the Canonical Tag Checker Works

The tool follows a defined analysis pipeline for every URL checked.

01

Enter URL

Paste a single URL or multiple URLs in bulk mode. The tool auto-normalizes and validates each URL, stripping tracking fragments and rejecting invalid formats.

02

Fetch & Follow Redirects

The URL is fetched server-side via a Cloudflare Worker. Redirect chains are followed up to 20 hops, recording each status code. The tool then fetches the final destination page for canonical analysis.

03

Analyze Consistency

The HTML head is parsed for canonical tags and the HTTP response headers are inspected for Link: rel="canonical". The requested URL, final URL, and canonical URL are compared for consistency.

04

Review Results

View the complete analysis with health score, issue breakdown, and actionable recommendations. Results are saved to local browser history. Export as TXT or JSON for documentation.

What Is a Canonical Tag?

A canonical tag is an HTML element that tells search engines which URL is the preferred or authoritative version of a page when duplicate or similar content exists at multiple URLs. It is specified as:

<link rel="canonical" href="https://example.com/preferred-page" />

The rel="canonical" attribute indicates that the URL in the href is the canonical version. Search engines treat this as a strong signal when deciding which URL to index and rank, but it is not a directive. Search engines may choose a different canonical if other signals — such as internal links, sitemaps, or redirects — point to a different URL.

Canonical tags are one of several canonicalization signals that search engines evaluate together. For best results, canonical tags should be consistent with redirects, internal links, sitemaps, and hreflang annotations.

Why Canonical Tags Matter for SEO

Canonical tags help search engines understand which version of a page to index and rank when multiple URLs return identical or similar content. Without proper canonical tags, search engines may:

  • Index multiple versions of the same content, diluting ranking signals across duplicates.
  • Choose the wrong URL as the canonical version, potentially harming search visibility for the preferred page.
  • Waste crawl budget on duplicate or near-duplicate pages instead of discovering new content.

Common scenarios where canonical tags help include:

  • URL parameters — tracking parameters (UTM, session IDs), sorting, and filtering options that create multiple URLs for the same content.
  • www vs non-www — if both versions serve the same content and no redirect is in place.
  • HTTP vs HTTPS — serving both protocols without redirecting to the preferred version.
  • Printer-friendly pages — separate print versions of content pages.
  • Category and tag archives — the same article appearing under multiple categories or tags.
  • Syndicated content — original content republished on other domains (cross-domain canonicals).

Common Canonical Issues Detected

The tool checks for these implementation issues automatically.

Missing Canonical Tag

No rel="canonical" tag found in either the HTML or HTTP headers. Search engines will determine the canonical URL on their own, which may not match the preferred choice. Adding a self-referencing canonical is recommended.

Multiple Canonical Tags

More than one canonical tag detected on the page. Search engines typically ignore all canonical tags when multiple are present, as the signals conflict.

Relative Canonical URL

The canonical href uses a relative path instead of an absolute URL. Absolute URLs (including https:// and domain) are strongly recommended for canonical tags.

Cross-Domain Canonical

The canonical tag points to a URL on a different domain. Search engines may honor cross-domain canonicals for syndicated content, but they are generally treated with caution and may be ignored.

HTML/HTTP Canonical Mismatch

The HTML canonical tag and the HTTP Link: rel="canonical" header point to different URLs. These should always reference the same canonical URL for consistency.

Protocol Mismatch

The canonical URL uses a different protocol (HTTP vs HTTPS) than the requested page. Canonical URLs should match the protocol of the preferred version — typically HTTPS.

Empty or Malformed Canonical

The canonical tag has an empty href attribute or a URL that cannot be parsed. These are invalid and will be ignored by search engines.

Canonical Contains Tracking Parameters

The canonical URL includes UTM parameters or other tracking identifiers. Canonical URLs should be clean, parameter-free versions of the page URL.

Canonical Tag Example

A practical example of a properly implemented canonical tag.

Consider a product page that is accessible through multiple URLs due to tracking parameters:

https://example.com/products/widget
https://example.com/products/widget?utm_source=email
https://example.com/products/widget?sort=price_asc
https://example.com/print/products/widget

A canonical tag on each of these variant URLs should point to the preferred version:

<link rel="canonical" href="https://example.com/products/widget" />

In this example:

  • rel="canonical" — declares this link as the canonical tag.
  • href="https://example.com/products/widget" — the absolute URL of the preferred page.
  • The URL is absolute (includes https:// and full domain) — recommended practice.

Canonical Tags vs Redirects

Understanding the differences between these URL consolidation methods.

Canonical tags and redirects both help consolidate duplicate content, but they work differently and serve different purposes:

AspectCanonical Tag301 Redirect302 Redirect
User behaviorUser stays on the duplicate URLUser is sent to the target URLUser is sent to the target URL
SEO signalsSignal, not directivePasses ranking signalsDoes not pass ranking signals
Crawl behaviorGoogle may still crawl duplicatesGoogle follows to new URLGoogle keeps the original indexed
When to useAccessible duplicates (parameters, print pages)Permanent URL changes, moved pagesTemporary moves, A/B testing
Multiple pagesMultiple pages can point to one canonicalEach redirect maps one source to one targetEach redirect maps one source to one target

In practice, a 301 redirect is the strongest signal for consolidation. Canonical tags are useful when redirects are not feasible — for example, when URLs must remain accessible (printer-friendly versions) or when you do not control the server configuration. For best results, use redirects and canonical tags consistently to reinforce the same preferred URL.

Self-Referencing Canonicals

A best practice for indexable pages.

A self-referencing canonical is a canonical tag where the href points to the page's own URL. For example, on https://example.com/page/:

<link rel="canonical" href="https://example.com/page/" />

Self-referencing canonicals are widely recommended as a best practice for indexable pages because they:

  • Reduce ambiguity for search engines about which URL is the preferred version.
  • Prevent other URLs from being incorrectly selected as the canonical when parameters or fragments are added.
  • Signal to search engines that this page is intentionally the canonical version.

Self-referencing canonicals are not necessary on every page — for example, paginated pages may prefer to point to the main series page — but including them on canonical indexable pages is a low-effort way to reinforce the page's preferred URL.

Cross-Domain Canonicals

Using canonical tags across different domains.

A cross-domain canonical tag points from a URL on one domain to a URL on a different domain. This is commonly used for:

  • Content syndication — When content is republished on partner sites, the syndicated copy can use a cross-domain canonical pointing to the original article on the source domain.
  • Multi-region setups — Similar content across country-specific domains (.com, .co.uk, .de).

Google states that they support cross-domain canonicals as a signal, but they treat them with more caution than same-domain canonicals. Cross-domain canonicals should only be used when:

  • You control both domains or have a clear business relationship with the other domain.
  • The content is genuinely identical or very similar.
  • The canonical target domain is the authoritative source.

The tool flags cross-domain canonicals as a warning since they may not be followed by search engines. Verify that cross-domain canonicals are appropriate for your use case.

Frequently Asked Questions

What is a canonical tag?

A canonical tag (<code>rel="canonical"</code>) is an HTML element that tells search engines which URL is the preferred version of a page when duplicate or similar content exists at multiple URLs. It helps prevent duplicate content issues and consolidates ranking signals.

What is rel="canonical"?

<code>rel="canonical"</code> is a link attribute that indicates the canonical or preferred version of a page. It can be used in HTML <code>&lt;link&gt;</code> elements, HTTP headers, and sitemaps to specify the authoritative URL for similar or duplicate content.

Why is a canonical tag important for SEO?

Canonical tags help search engines understand which URL to index and rank when multiple URLs return identical or similar content. Without them, ranking signals may be split across duplicate URLs, crawl budget may be wasted, and the wrong URL may appear in search results.

Does Google always follow canonical tags?

No. Google treats canonical tags as a strong signal but not a directive. Google may choose a different canonical URL if other signals — such as internal links, sitemaps, redirects, or <code>hreflang</code> annotations — point to a different URL as the preferred version.

What is a self-referencing canonical?

A self-referencing canonical is a canonical tag where the <code>href</code> attribute points to the page's own URL. For example, <code>https://example.com/page/</code> would have <code>&lt;link rel="canonical" href="https://example.com/page/" /&gt;</code>. This is considered a best practice for indexable pages.

Can a canonical tag point to another domain?

Yes, cross-domain canonicals are allowed. They are commonly used for syndicated content where the syndicated copy points back to the original article on the source domain. Google supports cross-domain canonicals but treats them with more caution than same-domain canonicals.

What happens if a page has multiple canonical tags?

When a page contains multiple canonical tags, search engines typically ignore all of them because the signals conflict. Each page should have exactly one canonical tag.

What is the difference between a canonical tag and a 301 redirect?

A 301 redirect sends users and search engines to a different URL, while a canonical tag keeps users on the current page but signals to search engines which URL is preferred. Redirects are stronger signals but require server configuration, while canonical tags can be added to the HTML without server changes.

Can canonical tags fix duplicate content?

Canonical tags help mitigate duplicate content issues by signaling the preferred URL, but they do not fix duplicate content in the same way that redirects do. For best results, use canonical tags together with redirects, consistent internal linking, and proper URL structure.

What does 'Alternate page with proper canonical tag' mean in Google Search Console?

This status in Google Search Console means Google found a page that is a duplicate of another page, and the page has a canonical tag pointing to the canonical version. Google considers this a normal and expected situation. It indicates the canonicalization is working as intended.

Should every page have a canonical tag?

For indexable pages, a self-referencing canonical tag is recommended as a best practice. It reduces ambiguity for search engines and prevents other URLs from being incorrectly selected as the canonical. Pages blocked by robots.txt or noindex directives do not need canonicals.

Can PDFs use canonical tags through HTTP headers?

Yes, PDFs and other non-HTML resources can specify canonicals using the HTTP <code>Link: rel="canonical"</code> response header. This is the only way to set a canonical for non-HTML content since these file types do not contain HTML <code>&lt;head&gt;</code> sections. The tool detects HTTP Link header canonicals on all response types.

How does the Canonical Tag Checker work?

Enter a URL and the tool fetches the page server-side via a Cloudflare Worker. It extracts the HTML head, parses all <code>rel="canonical"</code> tags, inspects the HTTP <code>Link</code> header for canonical references, follows redirects, and compares the requested URL with the final URL and canonical URL to detect mismatches and issues.

Can it detect HTTP Link header canonicals?

Yes. The tool checks the HTTP response headers for <code>Link: &lt;url&gt;; rel="canonical"</code> and compares it with the HTML canonical tag. If they point to different URLs, the mismatch is flagged. HTTP Link canonicals are commonly used for PDFs, images, and other non-HTML resources.

What does the SEO health score mean?

The health score is calculated dynamically based on factors including whether a canonical tag is present, whether it is absolute, self-referencing, and matches the final URL. Missing canonicals, multiple canonicals, relative canonicals, and HTML/HTTP mismatches reduce the score. Higher scores indicate better canonical health.

How many URLs can I check in bulk mode?

Up to 500 URLs per request. Paste URLs directly (one per line). Duplicates are automatically removed and invalid URLs are skipped. Results can be filtered by status and exported as CSV, JSON, or TXT.

Is my data sent to any server?

URLs you enter are sent to a Cloudflare Worker that fetches the page for analysis. No URL data is stored, logged, or persisted on any server. Check history is saved only in your browser's localStorage and can be cleared at any time.

Does the tool follow redirects before checking canonicals?

Yes. The tool follows HTTP redirect chains (up to 20 hops by default) to reach the final URL, then checks the canonical tag on the final page. The requested URL, final URL, and canonical URL are all compared for consistency.

Technical Details

Canonical Tag Specification

Canonical tags are specified with <link rel="canonical" href="..." /> and belong in the <head> section of an HTML document. They can also be set via the HTTP Link response header for non-HTML resources. Search engines treat them as a strong signal for the preferred URL, but they are not a directive. The canonical URL should always be absolute, include the protocol (https://), and point to the final destination after any redirects.

Self-referencing canonicals (where the canonical URL is the same as the page URL) are considered a best practice and help reinforce the page's preferred URL to search engines. The tool's health score awards points for self-referencing, absolute canonicals that match the final URL.

Health Score Calculation

The health score starts at 100 and deducts points for each issue detected:

  • Missing canonical: -20
  • Multiple canonicals: -15
  • Relative canonical URL: -10
  • Cross-domain canonical: -15
  • HTML/HTTP mismatch: -15
  • Malformed canonical: -15
  • Empty canonical href: -10
  • Error status code: -15

Positive factors include canonical matching the final URL (+10), self-referencing canonical (+5), and absolute same-domain canonical (+5). The final score is clamped between 0 and 100.

Limitations

The tool analyzes the HTML as returned by the server. If the page uses JavaScript to inject or modify the canonical tag after load, the analysis may reflect the pre-rendered state. Results should be verified if the page relies on client-side rendering for canonical tags.

The tool checks the final URL after redirects. If the redirect chain exceeds 20 hops (10 in bulk mode), the analysis stops and reports the issue. Timeout is 15 seconds per URL (10 seconds in bulk mode) — URLs that take longer to respond will time out.

The health score reflects the canonical state of the page at the time of checking. It is not a permanent rating — if the page's canonical implementation changes, the score will change accordingly.

Privacy

Server-Side Analysis

Canonical tag analysis runs on a Cloudflare Worker, enabling checks of any publicly accessible URL without CORS restrictions. We do not store or log the URLs you check.

No Tracking

We do not collect analytics on the URLs you check. Your browsing data stays private.

Local History Only

Check history is saved locally in your browser and never sent to any server. Clear it anytime.

Check your canonical tags now

No account needed. Results are generated from the application's actual analysis of the provided URL.

Check Canonical Tag