Advertisement
What is a canonical tag checker? A canonical tag checker reads the rel=canonical link in a page's HTML and tests it for common mistakes. This one works on HTML you paste. It checks whether a tag exists, whether there is more than one, whether the URL is absolute and HTTPS, matches the page URL, conflicts with noindex or og:url, or has query strings.

What is a canonical tag checker?

A canonical tag is a <link rel="canonical" href="..."> line in the head that tells search engines which URL is the preferred version of a page. When the same content is reachable at several addresses, such as with and without a trailing slash or with tracking parameters, the canonical points to the one you want indexed.

This canonical tag checker does not crawl anything. You paste the page source, or just the head section, into Paste HTML Source, optionally type the page address into Page URL, and press Check Canonical Tags. The tool parses your HTML with the browser's own parser, then runs up to ten checks and gives a score out of 100 with errors, warnings and passes.

Because it only sees what you paste, it cannot tell you whether the canonical address loads, redirects or returns an error. It also cannot see a canonical sent in an HTTP header or one injected later by JavaScript. Use it as a fast review of the HTML, not a replacement for a crawl or for Google Search Console.

How to check a canonical tag

  1. Open the page in your browser, view its source, and copy the head section or the whole HTML.
  2. Paste it into Paste HTML Source. Use Load Sample first if you want to see how the report looks.
  3. Type the live address of the page into Page URL. This is optional, but it is needed for the self-reference and cross-domain checks.
  4. Click Check Canonical Tags.
  5. Read the score, the detected canonical URL and each result tagged ERROR, WARN, INFO or OK.
  6. Fix the HTML on your site, then paste the updated source and run the check again.

What this canonical tag checker tests

Missing and duplicate detection

The tool counts every link rel="canonical". No tag costs 40 points, and more than one is flagged as an error because only one should exist.

Empty and relative URLs

An empty href is an error. A relative address such as /page is a warning, because canonicals should be full absolute URLs.

HTTP versus HTTPS

A canonical starting with http:// is warned about. A https:// address passes.

Self-reference and cross-domain test

With a Page URL entered, it tells you if the canonical matches the page, points to another path, or points to another domain.

Noindex conflict

If a robots meta tag contains noindex and a canonical is present, the tool reports a conflict.

og:url and query string checks

It compares og:url with the canonical and warns when the canonical contains a question mark and query parameters.

Who uses it, and for what

  • SEO consultants doing audits. Paste the source of a sample of templates, such as a product page and a blog post, to spot patterns before crawling the whole site.
  • WordPress site owners. After changing an SEO plugin or theme, check whether a page now outputs two canonical tags. Related: Meta Tag Analyzer.
  • Developers building templates. Confirm that a staging template outputs a full https URL with no tracking parameters before it goes live.
  • Content teams syndicating articles. Check that a republished copy points to the original domain on purpose, using the cross-domain warning.

Tips for fixing canonical problems

  • Always paste the HTML the server returns, not just what the browser inspector shows. Scripts can change the DOM after load.
  • Fill in Page URL. Without it, the tool cannot check self-referencing or cross-domain canonicals.
  • The self-reference check compares full addresses, so a trailing slash difference counts as a different URL.
  • Do not use noindex and a canonical together on the same page. Pick one signal.
  • Keep canonical, og:url and your sitemap entry identical. You can build the last with the Sitemap Generator.
  • A perfect score only means the HTML looks sound. It does not prove the canonical page exists or returns status 200.

Is it safe? Privacy and limits

The check runs in your browser. The HTML you paste is parsed locally and is not uploaded, saved or sent anywhere. The tool does not request the page URL you type; it only compares it to the canonical text. Results are guidance on the markup you provided, not a guarantee of how Google will choose a canonical, which it may override.

Canonical tag checker FAQ

It looks at the canonical link in your page HTML and tells you if it follows good practice. This tool parses pasted source and tests for a missing tag, several tags, an empty href, a relative or HTTP URL, query parameters, a mismatch with the page address, a mismatch with og:url and a noindex clash. It then scores the page out of 100. It does not fetch your site, so what it reports depends entirely on the HTML you paste.

No. You paste HTML source, and the Page URL field is only used for comparison. Nothing is fetched from your site. That has one benefit: you can test staging pages, local files and private pages that a public crawler cannot reach. The drawback is that you must copy the source yourself. If you want to inspect redirects on a live address, try the Redirect Checker.

It is a canonical tag that points to the page's own URL. Many SEOs add it to every indexable page, so that variants created by parameters or odd links still point back to the clean address. In this tool, enter the page address in Page URL and the result will say whether it matches the canonical exactly. A trailing slash difference or http versus https will count as different, which is useful, because those are the usual mistakes.

If a page contains two canonical links with different addresses, search engines get conflicting instructions and may ignore both. This often happens when a theme and an SEO plugin each output one. The tool counts all link rel="canonical" tags and reports an error if there is more than one, listing every href it found. The fix is to disable one source, then view the page source again to confirm a single tag remains.

It sends mixed signals. A canonical says this URL, or another one, is the page to consolidate on. Noindex says do not keep this page in the index. Google may follow either, and which one wins can be unpredictable. If you want a page out of search, use noindex alone. If you want duplicates consolidated, use a canonical alone. The tool flags the combination when your robots meta content includes noindex, but it only reads a meta tag, not an HTTP header.

Use an absolute URL with the protocol and domain, for example https://example.com/page. Relative paths can work, but they are easy to misresolve, especially with base tags, staging domains or copied templates. This tool gives a 15 point deduction and a warning for a relative canonical. It also warns about http:// and about query parameters, since the canonical should usually be the clean, tracking-free address.

No. Google treats rel=canonical as a strong hint, not a command. It can pick a different URL if other signals disagree, such as redirects, internal links, sitemaps or content differences. Aligning all of them gives the best chance. You can see Google's chosen canonical in Search Console's URL Inspection. Google's guide to specifying a canonical URL explains the signals it uses.

Yes. It is free, requires no account and has no limit on how many pages you check. It works in your browser, so you can paste as many documents as you like. If you are auditing a whole site, you will still need a crawler to collect every page, because this tool checks one pasted document at a time. Pair it with Search Console, which shows the canonical Google actually chose for each URL.

Advertisement