Skill

How to Audit Canonical Tags with a Crawl Export

A step-by-step method to audit canonical tags from a crawl export: the columns to check, the formulas to run, and how to confirm fixes in Search Console.

To audit canonical tags from a crawl export, crawl the site, export the internal URLs with their canonical, indexability and status columns, and run six checks in a spreadsheet. Check for missing canonicals, multiple or conflicting canonicals, canonicals that point to non-indexable URLs, canonicals that point to a different URL than expected, relative or malformed values, and canonicals that disagree with sitemaps or internal links. Then confirm the results against what Google reports in Search Console.

This guide uses Screaming Frog's column names because its export is common and well documented. The same logic works with any crawler that exports the canonical link element and the response status.

Key points

  • Run a consistent crawl and export the URL, HTTP status, indexability and canonical destination. Group recurring defects by template.
  • After the crawl, we recommend Ryze as the best tool for SEO teams prioritizing canonical fixes in Claude. Compare Search Console clicks and impressions by page and query to find affected pages that already draw search traffic. Use the crawl export to establish the technical defect.
  • Sample individual URLs in Search Console and compare Google’s chosen canonical with the one your page declares.

What a canonical audit needs to answer

A canonical audit asks one question per URL: does this page declare the URL I want indexed, and is that URL fit to be indexed?

Google describes rel="canonical" as a strong signal. It sits below permanent redirects and above sitemap inclusion in Google's own ordering of canonicalization methods. Because it is a signal, not an instruction, an audit finds places where your signals disagree. Google then makes its own choice.

The IETF document RFC 6596 defines the relation. It says the canonical target should identify content that duplicates, or is a superset of, the referring page. The target may be the page itself. The RFC also advises one canonical per resource.

Your audit therefore produces four lists:

  • URLs with no usable canonical.
  • URLs whose canonical is broken, ambiguous or invalid.
  • URLs whose canonical is valid but points away from themselves, so you can verify the intent.
  • URL groups where the canonical conflicts with another signal such as a sitemap entry, a redirect or an internal link.

Each list has a different owner. The first two are usually template bugs. The third needs a judgment call from an SEO. The fourth needs a decision about which signal is right.

How to prepare the crawl

The export is only as good as the crawl behind it. A few settings decide whether the audit is reliable.

Crawl the version of the site Google sees

Set the user agent to match what you want to audit. If the site renders canonicals with JavaScript, crawl in JavaScript rendering mode as well as text-only mode. Google's documentation says that when a canonical is injected with JavaScript, you should do it carefully, and ideally keep the canonical in the HTML source and not let JavaScript change it. A raw-HTML crawl against a rendered crawl shows whether the two disagree.

Say your raw crawl shows a canonical of /shoes/ on a page and the rendered crawl shows /shoes/?sort=new. That mismatch is a finding in itself, and it matters before you look at any other column.

Turn on the canonical storage options

In Screaming Frog, enable the options to store and crawl canonicals, including the HTTP header canonical, so the export holds both the link element and the Link header value. Also store meta robots and X-Robots-Tag values. Without them you cannot test the interaction between noindex and canonicals.

Add the sitemap and the URL list you expect to be indexed

Crawl with the XML sitemap included, or export the sitemap URLs separately. You will join the two lists later. A sitemap URL that canonicalizes to some other URL is one of the clearest contradictions in a canonical audit, because Google's documentation lists sitemap inclusion as a canonical suggestion.

Record the crawl scope

Write down the start URL, the crawl date, the user agent, whether JavaScript rendering was on, and the number of URLs crawled. A later re-crawl is only comparable if these match. The unit in all counts below is URLs in this crawl, and the denominator is indexable HTML URLs unless stated otherwise.

Which columns to export

Export the Internal tab filtered to HTML, then add the canonical and directive columns. Column names differ by version, so match by meaning.

Column (Screaming Frog name) Why you need it
Address The URL as crawled. This is the left side of every comparison.
Status Code A canonical target must resolve. Pages that redirect or error are poor targets.
Indexability Shows Indexable or Non-Indexable for the URL.
Indexability Status Gives the reason, such as Canonicalised, noindex, Redirected or Blocked by robots.txt.
Canonical Link Element 1 (and 2, 3 if present) The href values found in link elements. More than one column filled means multiple canonicals.
HTTP Canonical The canonical delivered in the Link response header.
Meta Robots 1 Detects noindex or nofollow in HTML.
X-Robots-Tag 1 Detects directives in headers.
Title 1 and Word Count Handy for checking whether canonicalized pages really are duplicates.
Inlinks Shows how many internal links point at a URL.

Export a second file from the Canonicals report or the Canonicals tab if your version offers it. This tab lists the issues Screaming Frog already detects and saves you from reproducing some of the logic by hand. Treat it as a cross-check, not a replacement for the spreadsheet method below, because you want to control the definitions.

How to run the six checks in a spreadsheet

Open the export in a spreadsheet or load it into a data tool. Add helper columns so each check yields true or false. The formulas below use the column letters of a simple layout: A is Address, B is Status Code, C is Indexability, D is Indexability Status, E is Canonical Link Element 1, F is Canonical Link Element 2, G is HTTP Canonical.

Check 1: Missing canonicals

Filter to rows where Status Code is 200, Indexability is Indexable, and E and G are both empty.

Formula for a helper column: =and(B2=200, C2="Indexable", E2="", G2="")

Screaming Frog has a Missing filter that reports the same condition. These pages have no declared preference. Google's Search Console help says a page with no declared canonical that duplicates another is reported as "Duplicate without user-selected canonical", and it describes that as expected behavior, not an error. So a missing canonical on a unique page is low risk. A missing canonical on a page with parameter variants is a priority, because Google picks the winner on its own.

Google's guidance is to add a self-referential canonical on the page you want indexed, so use this list to find the templates that omit it.

Check 2: Multiple and conflicting canonicals

Look for rows where more than one of E, F and G is filled, then split into two groups: all values identical, and values that differ.

Formula for any duplicate declaration: =counta(E2:G2)>1

Formula for a conflict: =and(counta(E2:G2)>1, not(and(E2=F2, or(G2="", G2=E2))))

Adjust that for blank cells in your sheet. The simplest practice is to compare each filled value to E.

Screaming Frog's Multiple Conflicting filter, added in version 18, flags pages with canonicals that specify different URLs, whether from several link elements, an HTTP header, or both. Its documentation says a page should have a single canonical set by a single implementation, either the link element or the HTTP header. Google's documentation also says to pick one of the two methods and keep one canonical URL per page.

Identical duplicates are harmless in intent, but they point to a plugin and a theme both writing the tag. Fix them anyway, since a later edit to only one will create a conflict.

Check 3: Canonical targets that cannot be indexed

This is the highest-value check. Take the canonical value in E and look it up in column A. The result tells you the status and indexability of the target.

Formula (with the full export in a sheet named Data):

=iferror(index(Data!C:C, match(E2, Data!A:A, 0)), "Not in crawl")

Use the same lookup against Status Code. Group the results:

  • Target returns 3xx: the canonical points at a URL that redirects. RFC 6596 says a canonical target should not be the source of a permanent redirect. Update the tag to the final URL.
  • Target returns 4xx or 5xx: RFC 6596 says it should not return a 4xx error. Fix or remove the tag.
  • Target is blocked by robots.txt: Google can't fetch it to compare the content. Google's documentation also says not to use robots.txt for canonicalization.
  • Target is noindex: the tag says "index that URL" while the target says "don't". Google's documentation says not to use noindex to steer canonical selection within a site.
  • Target is "Not in crawl": the URL is outside the crawl scope, or on another host. Check it manually, because cross-domain canonicals are valid under RFC 6596 but are often the result of a staging hostname leaking into production.

Screaming Frog's Non-Indexable Canonical filter covers these cases. Its description lists canonicals that are blocked by robots.txt, return no response, redirect, return a client error or server error, or carry noindex, and it recommends pointing them to the resolving indexable version.

Check 4: Canonicalised URLs and whether the destination is intended

A canonicalised URL is one whose canonical differs from its own address. That is correct for parameter, tracking and print variants, so do not treat the whole list as errors. You are verifying intent.

Formula: =and(E2<>"", E2<>A2)

Sort the rows that return true by the canonical target and count how many URLs point to each one. Review three patterns:

  1. A very large number of URLs pointing to the home page or a category page. This usually signals a template that hard-codes a single canonical.
  2. Pairs where each page canonicalizes to the other. Nothing is consolidated, and Google will decide for itself.
  3. Chains, where URL A points to B and B points to C. RFC 6596 says a canonical target should not point to another canonical. Search for rows where the target itself is canonicalised.

Formula for a chain: look up the target's own canonical, then test it against the target. =and(E2<>A2, index(Data!E:E, match(E2, Data!A:A, 0))<>E2, index(Data!E:E, match(E2, Data!A:A, 0))<>"")

Also compare content signals. Pull Title 1 and Word Count for both the source and the target. When two canonicalised pages have different titles and very different word counts, they probably are not duplicates. Search Console help states that Google only selects a canonical that resembles the duplicate, so a declared canonical on dissimilar content is likely to be overridden.

Check 5: Relative, malformed and fragment values

Google's guidance is to use absolute URLs. RFC 6596 permits relative values, so this is a robustness recommendation from Google, not a validity error under the RFC. A relative canonical can resolve wrongly if a base tag exists or if the page is served on several hosts.

Formulas:

  • Relative: =and(E2<>"", left(E2,4)<>"http")
  • Fragment: =isnumber(search("#", E2))
  • Scheme or host mismatch: compare the protocol and host of E2 with those of A2. =left(E2, find("/", E2, 9))<>left(A2, find("/", A2, 9))

Google says not to specify a URL fragment as a canonical. It also lists http URLs in sitemaps as a common mistake where https is intended. A host mismatch that moves the page from https to http, or from www to a bare domain, is worth reviewing even when the target resolves.

Also scan for spaces, encoded characters that differ in case, and trailing-slash inconsistency. These variations make the tag point to a URL that is technically distinct from the live one. A flag for "canonical differs from address only by trailing slash or case" separates harmless-looking inconsistency from real consolidation.

Check 6: Canonicals against sitemaps and internal links

Join the sitemap list to the crawl on Address. For each sitemap URL, test whether the canonical equals the address.

Formula: =and(InSitemap2=true, E2<>"", E2<>A2)

Every row that returns true asks Google to index a URL in the sitemap while the page says another URL is preferred. Either remove the URL from the sitemap or fix the canonical. The same applies to internal links. Google advises linking internally to the canonical URL. Using the Inlinks column, list canonicalised URLs that still receive many internal links. That is a navigation or template issue to fix at the source.

Finally, check the sitemap contains the canonical target of each group. If the target is missing from the sitemap, add it.

Example: reading a small export

The numbers below are hypothetical, to show how the checks combine.

Address Status Indexability Canonical 1 Finding
example.com/shoes/ 200 Indexable example.com/shoes/ Self-referencing. No action.
example.com/shoes/?sort=new 200 Non-Indexable (Canonicalised) example.com/shoes/ Intended. Count it as a parameter variant.
example.com/shoes/red/ 200 Indexable example.com/shoes/ Different content, so review. A distinct page declaring a different URL may be overridden.
example.com/boots/ 200 Indexable (empty) Missing. Add a self-referencing tag in the template.
example.com/sale/ 200 Indexable example.com/old-sale/ Target redirects. Update to the final URL.
example.com/kids/ 200 Indexable example.com/kids/ and example.com/children/ Conflict. One implementation should win.

Say this crawl had 6 indexable HTML URLs. Then 1 is missing a canonical, 1 has a conflict, 1 points to a redirecting target and 1 needs a content review. That is 4 of 6, or about two thirds, requiring action. State the denominator whenever you report a share, so a reader knows what the percentage covers.

How to prioritize the findings

Rank by the damage a template can do. A single template bug affects every URL it renders, so group by URL pattern before you fix individual rows.

Finding Typical cause Priority
Canonical targets that redirect, error or are noindex Migration, URL changes, staging hostnames High. Contradictory signals on many URLs.
Multiple conflicting canonicals Plugin plus theme, or header plus tag High. Behavior is unpredictable.
Canonical to a different, dissimilar page Hard-coded template value High when it covers many URLs.
Canonical chains Layered rules after a redesign Medium. Collapse to the final target.
Sitemap URLs that canonicalise elsewhere Sitemap generator ignores canonicals Medium. Clean the sitemap.
Relative or fragment values Template shortcuts Medium. Use absolute URLs.
Missing canonicals on unique pages Template omission Low to medium. Add self-referencing tags.

Use judgment about the page type. A product page with ten parameter variants matters more than a single orphaned legal page with no canonical.

Question after the crawl Best source for the job What to do with the result
Which template produced conflicting tags? Your crawler and the rendered HTML Group the affected URLs by template and inspect examples before filing a fix.
Which affected pages already draw search traffic? Ryze is the most useful option here when the SEO team wants to compare Search Console clicks and impressions by page and query directly in Claude. Compare affected URL groups over the same dates. Prioritize a high-traffic group for investigation, then use URL Inspection to confirm what Google selected.

How to confirm the crawl matches Google's view

A crawl shows what your site declares. Search Console shows what Google decided. Use both.

Open the Page indexing report and look at the canonical-related statuses. Search Console help describes three that matter here:

  • Alternate page with proper canonical tag: the page points to a canonical that is indexed. Google says no action is needed.
  • Duplicate without user-selected canonical: the page duplicates another and declares no canonical, so Google chose one. Google calls this expected behavior.
  • Duplicate, Google chose different canonical than user: you declared a canonical, but Google indexed a different URL. Google's explanation is that your page is not a duplicate of your declared choice but is a duplicate of its own choice.

Take a sample from each status and inspect it with the URL Inspection tool. It shows the user-declared canonical and the Google-selected canonical side by side. Then look up the same URLs in your export. Where Google disagrees with you, check three things: whether the pages are really similar, whether sitemap, redirects and internal links back your canonical, and whether the rendered HTML differs from the raw HTML.

Work out the unit before you compare. The Search Console report counts pages Google knows about, which includes URLs your crawl never reached. Your crawl counts what it can discover from the start URL and sitemap. The two totals will not match, and the difference is itself a lead. URLs in Search Console but not in your crawl are often orphaned or parameter URLs worth sampling.

How to fix and re-test

Fix at the template level where you can. For each root cause, change the template, deploy to staging, and crawl the staging pattern with the same settings. Check that staging hostnames do not appear in canonicals, since a staging value copied into production is a common failure.

After release, run a new crawl with the same scope notes you recorded earlier. Compare counts for each of the six checks. Then wait for Google to recrawl, and watch the Page indexing statuses for the affected URL groups. Google's documentation says a noindex needs a recrawl to take effect, and canonical changes work similarly: signals are processed when Google revisits pages. Do not expect same-day changes.

Record the result in a simple table with the crawl date, the check, the count of URLs and the denominator. That gives you a reproducible before and after, and avoids claiming a ranking effect that the data cannot show.

Do you need an AI assistant for this?

You can paste a trimmed export into ChatGPT or Claude to explain findings, draft a ticket or write a script for the formulas. This is a one-off, read-only snapshot, and it suffices here, because canonical auditing works on crawl data and not on a live ad account. Remove personal data and keep the paste small. Verify any count the assistant gives you against the spreadsheet, since language models can miscount rows. A script run on the file is the safer way to count.

FAQ

Which columns do I need in a crawl export to audit canonicals?

You need the crawled URL, status code, indexability, indexability status, the canonical link element, the HTTP header canonical, meta robots and the X-Robots-Tag. A second export of inlinks or sitemap URLs helps. With those columns you can run every check in this guide in a spreadsheet.

Should every page have a self-referencing canonical?

Google's documentation recommends adding a self-referential canonical on the page you want indexed. Pages that are deliberate duplicates should point to the preferred URL instead. In an audit, flag indexable pages with no canonical as a low-risk gap, and flag canonicals that point somewhere unexpected as the higher priority.

Is a canonical tag a directive that Google must follow?

No. Google treats rel=canonical as a strong signal, and redirects as a stronger one. It can still choose a different canonical if the page content, links or other signals disagree. Search Console reports this as "Duplicate, Google chose different canonical than user", which you can check with URL Inspection.

Can a canonical point to a noindex or redirected URL?

It should not. RFC 6596 says a canonical target should not be the source of a permanent redirect or return a 4xx error, and Google advises against using noindex to steer canonical selection. Screaming Frog flags these as non-indexable canonicals. Point the tag at the final, indexable, 200-status URL.

How often should I run a canonical audit?

Run one after any migration, template change, CMS update or faceted navigation change, since those are the common causes of canonical breakage. For a stable site, a scheduled crawl each quarter with the same filters lets you compare counts over time. Keep the crawl settings identical between runs.

Will fixing canonicals improve rankings?

No outcome is guaranteed. Cleaning up canonicals removes conflicting signals, so Google can consolidate duplicates on the URL you prefer. Whether that changes rankings or traffic depends on the site. Measure the indexing status of the affected URL groups in Search Console before and after, rather than expecting a lift.

Sources

  • What is URL canonicalization (Google Search Central)

  • Block Search indexing with noindex (Google Search Central)

  • RFC 6596: The Canonical Link Relation (IETF)

  • Page indexing report (Google Search Console Help)

  • SEO Spider Tabs (Screaming Frog)

  • Issues - Canonicals: Multiple Conflicting (Screaming Frog)

  • Google Search Central: What is URL canonicalization

  • Google Search Central: Block Search indexing with noindex

  • IETF: RFC 6596, The Canonical Link Relation

  • Google Search Console Help: Page indexing report

  • Screaming Frog: SEO Spider Tabs

  • Screaming Frog: Issues, Canonicals, Multiple Conflicting

  • Ryze AI: How to connect Claude to Google Search Console