Output will appear here.
How to use
Tip: Use “View page source” and paste the raw HTML (not the rendered DOM) for the cleanest result.
- (Optional) Enter the page URL to resolve relative canonicals and compare against the page.
- Paste the HTML into the box.
- Click Check Canonical.
- Review the summary and flagged issues, then copy the report if needed.
FAQ
What does this canonical checker do?
It parses pasted HTML to find rel="canonical", shows the canonical URL(s), and flags common issues like duplicates, missing hrefs, or non-http(s) URLs.
Does this tool fetch a URL or crawl my site?
No. It runs offline and only analyzes what you paste, so it can’t verify server responses or whether the target URL exists.
Why should there usually be only one canonical tag?
Multiple canonicals can send conflicting signals; Google may ignore them or choose one unpredictably.
Are relative canonical URLs allowed?
They can work, but absolute canonicals are safer. This tool can resolve relative values if you provide a page URL (or the HTML has <base href>).
What if my canonical differs from the page URL?
That can be correct for duplicate/parameterized pages. The report marks it as info so you can confirm it’s intentional.
Why check og:url against the canonical?
If og:url and canonical disagree, social sharing and SEO signals can become inconsistent; aligning them is usually cleaner.
Does it detect canonicals in HTTP headers (Link: rel=canonical)?
No—only HTML. Header-based canonicals require a fetch, which this offline tool intentionally does not do.