Home› SEO›Canonical Tag Checker
SEO tool

Canonical Tag Checker

Inspect pasted HTML for canonical link tags and compare the canonical URL with a page URL locally.

Check a page's canonical tag from pasted HTML

Paste the page URL and HTML source. The tool finds canonical links without fetching or uploading the page.

Canonical tags found—
First canonical URL—
Matches page URL—
Absolute URL—

How the calculation works

The checker parses the HTML in your browser, finds <link rel="canonical" href="..."> elements, resolves relative URLs against the page URL, and compares the first canonical with the normalized page URL.

How to use the result

Use it when reviewing rendered or source HTML from templates, migrations or indexation troubleshooting. A self-referencing canonical can clarify the preferred URL, while a cross-canonical intentionally points to another URL.

Assumptions and limitations

This tool analyzes only the HTML you paste. It does not fetch the live page, inspect HTTP Link headers, determine whether search engines selected the same canonical, or verify indexability. Multiple canonical signals should be investigated in context.

Example

Paste the exact HTML version you want to test because client-side rendering can change what a browser DOM contains compared with server source.

Frequently asked questions

Does the checker fetch my website?
No. It analyzes only the page URL and HTML you paste into the browser.
Are relative canonical URLs supported?
Yes. Relative href values are resolved against the entered page URL.
What if there are multiple canonical tags?
The tool counts them and flags the situation for review because conflicting canonical signals can be problematic.
Does a matching canonical guarantee Google uses it?
No. Canonical tags are signals; search engines can select a different canonical based on other evidence.