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
- Open the page, view source, and copy the HTML (or just the <head> section).
- Paste it into the box. Optionally add the page's own URL to test self-referencing.
- 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
Canonical Tag Generator
Generate a clean rel=canonical link tag from any URL. Strip tracking params, force HTTPS and lowercase the host, then copy the tag. Runs in your browser.
Meta Tag Generator
Generate clean HTML meta tags for any page. Set title, description, keywords, author and robots, then copy the head block. Runs in your browser.
Robots.txt Generator
Create a valid robots.txt file in seconds. Pick allow all, block all, or custom rules, add your sitemap URL, then copy or download the file.
XML Sitemap Generator
Paste your URLs and get a valid XML sitemap in seconds. Set change frequency and priority, then copy or download sitemap.xml for Search Console.
Article Schema Generator
Generate Article, NewsArticle or BlogPosting JSON-LD schema. Add headline, author, publisher and dates, then copy the script into your page.
Breadcrumb Schema Generator
Build BreadcrumbList JSON-LD structured data. Add your breadcrumb trail, reorder the steps, then copy or download the script for your page.