What canonical tags actually do
A canonical tag is one line of HTML — <link rel="canonical" href="…"> — that signals your preferred URL for duplicate or very similar content. Distinct pagination pages should usually have their own canonical URLs.
Consistent canonicals, redirects, internal links and sitemap URLs make your preference clearer. This tool formats a tag; it does not fetch the target or verify Google's selected canonical.