Encited logo
PricingTalk to sales

Canonical URL checker

Canonical URL checker

Check the canonical tag on any page. See whether it points to itself or another URL, find conflicts between the HTML and the HTTP header, test the target's status, and compare the canonical after JavaScript runs.

Sends asMozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

How to check a canonical URL

  1. Enter the URL

    Paste the page you want to check. The checker follows any redirects and reads the final page.

  2. Pick the crawler

    Googlebot is the default. Pick Bingbot or an AI crawler to see the canonical that bot gets.

  3. Read the canonical

    The checker reads the rel=canonical link in the HTML and the canonical HTTP header, and says whether the page points to itself or to another URL.

  4. Check the target and the rendered page

    When the canonical points elsewhere, the checker fetches that URL too. Then render the page to see if JavaScript changes the canonical.

What the canonical checker checks

HTML and HTTP header
The rel=canonical link in the <head>, a canonical tag in the body that Google ignores, and the canonical in the Link HTTP header.
Self or other URL
Whether the canonical points to the page itself or asks Google to index another URL in its place.
Conflicts
More than one canonical URL, a header that disagrees with the HTML, a relative URL, a fragment, or a different protocol or host.
The canonical target
The status code of the canonical URL, any redirects on the way, a noindex on the target, and a target that names yet another canonical.
Noindex
A noindex meta tag or X-Robots-Tag on the page itself, which conflicts with a canonical.
JavaScript
The canonical after a browser render, compared with the one in the server HTML: added, removed or changed by JavaScript.

Canonical tag in the HTML or the HTTP header

For an HTML page, add a rel=canonical link to the head. Google only accepts it in the head section, so a tag printed in the body is ignored.

rel=canonical in the HTML
<head>
  <link rel="canonical" href="https://example.com/dresses/green-dress" />
</head>

For a file with no HTML, such as a PDF, send the canonical as a Link HTTP header. Use one method per page, and make both name the same URL if you use both.

Canonical HTTP header
HTTP/1.1 200 OK
Content-Type: application/pdf
Link: <https://example.com/guides/size-chart.pdf>; rel="canonical"

Common canonical mistakes and how to fix them

Several canonicals
A theme and an SEO plugin both print one, or the HTML and the HTTP header disagree. Google asks for one canonical per page.
Canonical to a redirect
The canonical points to a URL that redirects, for example after a move from http to https or to a new path. Point it at the final URL.
Canonical to an error
The canonical points to a page that returns 404 or 500. Google can't use it.
Canonical with noindex
Google doesn't recommend noindex for choosing a canonical within one site, because it removes the page from search completely.
Every page to the home page
A template that prints the home page URL as the canonical on every page asks Google to drop all of them.
Canonical set by JavaScript
The server HTML says one URL and the app changes it after load. Google asks that JavaScript doesn't change the canonical link element.

Canonical checker FAQ

The URL you want search engines to index when the same content is reachable at several URLs, such as with and without tracking parameters, or through two category paths. You declare it with a rel=canonical link in the page's <head> or a canonical HTTP header.

Enter the URL above. The checker reads the canonical from the HTML and the HTTP header and checks the URL it points to. To see it by hand, view the page source and search for rel="canonical", or run URL Inspection in Search Console to see the canonical Google chose.

A canonical that points to the page's own URL. Google recommends one on the canonical page itself, so every copy of it, with parameters or without, points back to the same URL.

This one can. Press Check the rendered page after a check: it renders the page in a browser and compares the canonical with the server HTML. Google reads both, and asks that JavaScript doesn't change the canonical. Crawlers that don't run JavaScript only see the server HTML.

A redirect sends visitors and crawlers to the other URL, and Google calls it a strong signal. A canonical keeps the page reachable and asks Google to index another URL. Use a redirect when the old URL shouldn't be visited, and a canonical when both URLs need to work.

No. Google treats it as a strong signal and weighs it against redirects, links and sitemaps. When those disagree, Google can pick another URL, and Search Console reports it. See Duplicate without user-selected canonical.

Absolute. Google supports relative canonical URLs but recommends absolute ones, because a relative path follows the page to any host, including a test site that gets crawled by accident.

This checker tests one URL at a time. The site audit crawls every page and lists missing, conflicting and non-200 canonicals with a fix for each.

Yes. It's free and you don't need an account.

More free SEO tools

“Encited has become my go-to for all Lovable projects. I saw an uptick in crawls almost immediately after switching. Honestly one of the best dev/SEO tools I’ve used. Aki was also amazing on support. Love it!”
Kyle Davidson
Kyle Davidson
Co-founder at Shoutout.io
Trusted by over 5,000 brands and agencies
Shoutout.io
Optimum Service Marketing
Brilus
Local Marketing Vault
API Worx
Main Street Marketer
Site audit

Find every redirect chain on your site

The site audit crawls every page and lists each redirect chain, loop and broken redirect, with the fix for each one.

  • Redirect chains, loops and 4xx targets in one list
  • Every issue comes with a recommended fix
  • Copy the fixes as a prompt for your coding agent
Book a demo
Site audit issues grouped by type with severity, affected page counts and copy-prompt actions
Click to zoom
Avatar
How can we help?
Get instant answers to your questions or leave a message for an engineer will reach out
Ask AI about Encited
See our docs
Contact support
Leave a message
We'll get back to you soon
Avatar
Ask AI about Encited
Product questions, troubleshooting and
Thinking
Preview
Drop an image to attach
Powered by ReplyMaven