Boneyard Tools

Canonical Tag Checker

Paste a page's HTML and this tool lists every rel=canonical link it finds, then flags common problems: no canonical, several conflicting ones, a relative URL, or a canonical that points somewhere other than the page itself. Everything is checked in your browser.

How to check a canonical tag

  1. Open the page, view source, and copy the HTML (or just the <head> section).
  2. Paste it into the box. Optionally add the page's own URL to test self-referencing.
  3. Read the detected canonical and the findings list, then fix anything flagged red or amber.

Examples

A healthy self-referencing canonical

<link rel="canonical" href="https://example.com/page" /> with page URL https://example.com/page
Canonical: https://example.com/page. Self-referencing (good).

Two conflicting canonicals

<link rel="canonical" href="https://example.com/a"><link rel="canonical" href="https://example.com/b">
Error: 2 canonical tags found. Keep only one.

Frequently asked questions

What is a canonical tag and why does it matter?

A canonical tag is a <link rel="canonical" href="..."> element in a page's head that names the preferred URL for that content. It matters because the same page is often reachable at several URLs (with tracking parameters, with and without a trailing slash, http and https). The canonical tells search engines which version to index and which to consolidate ranking signals onto, preventing duplicate-content dilution.

What should a correct canonical look like?

For a normal indexable page it should be self-referencing: an absolute https URL that points at the page's own address, and there should be exactly one of them. Use a full URL like https://example.com/page rather than a relative path like /page, because Google recommends absolute canonicals to remove any ambiguity.

Why is having more than one canonical tag a problem?

A page is meant to declare a single preferred URL. When a page has two or more canonical tags that disagree, search engines usually treat the signal as conflicting and ignore all of them, then choose a canonical on their own. This tool flags multiple canonicals as an error so you can remove the extras, which often come from a theme and a plugin both injecting one.

What does a self-referencing canonical mean?

It means the canonical URL is the same as the URL of the page it sits on. That is the recommended default for pages you want indexed, because it confirms to search engines that this exact URL is the one to rank. If you add your page URL above, this tool tells you whether the canonical is self-referencing or points elsewhere.

Does this tool fetch the page or check it live?

No. It only reads the HTML you paste in, so it does not visit the URL or render JavaScript. If your canonical is injected by client-side scripts, paste the rendered HTML (for example from your browser's inspector) rather than the raw view-source response.

Is my HTML kept private?

Yes. The check runs entirely in your browser with JavaScript. Nothing you paste is uploaded, logged or stored anywhere.

Related tools