Code · Made a little simpler

Canonical URL Checker

Check canonical link placement, relative URLs, the document base and conflicting declarations. Compare normalized HTTP and HTTPS targets without opening any URL.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Canonical URL Checker: how to use it

  1. Paste the saved HTML or open a local UTF-8 HTML file, then enter its document URL.
  2. Enter a preferred canonical URL if it differs from the document URL. Select Check canonical URLs.
  3. Review the comparison, effective base and source lines. Copy or download the local report.

Limits and notes

Reads up to 250,000 UTF-16 code units and 200 canonical links or base hrefs. Compares normalized HTTP(S) targets while retaining path case, query order and trailing slashes. The report describes supplied HTML. HTTP Link headers, redirects and search engine choices use separate evidence.

How your privacy works →

Canonical URL Checker: common questions

Why did a relative link resolve to a different directory?

The first base href sets the effective base URL if the HTML rules accept it. The report gives its source line and resolved value.

Are two duplicate canonicals always a conflict?

Multiple declarations are reported separately. Different valid head targets are labeled as conflicting. Identical normalized targets are reported as multiple declarations.

Do tracking parameters change the comparison?

Query strings and their parameter order stay in the normalized URLs. Enter a preferred URL to compare the declaration with the query-free address you intend.

Guides