Generate a rel=canonical link tag to avoid duplicate content.
Tip: use samples, upload, copy, download, and send-to actions inside the workspace where available.
Canonical Tag Generator is a free, browser-based tool that helps you convert between formats. Generate a rel=canonical link tag to avoid duplicate content. It's built for speed and privacy: Everything runs locally in your browser — your data is never uploaded to a server. No sign-up, no installs, and no daily limits.
Start with the source file or pasted payload, then confirm delimiters, headers, and field handling before conversion.
Review the preview, copy or download the result, and keep everything local in your browser.
Hreflang Generator: Generate hreflang alternate link tags for i18n SEO.
Open toolPick one and never mix. /about and /about/ are two distinct URLs to every crawler.
https://example.com/Blog/Post/?id=42http:https:#section-2(removed)?utm_source=newsletter&utm_medium=email&id=42?id=42Self-referencing mode: every page emits a canonical pointing at its own clean URL. This is what you want on roughly every page of a normal site — it pre-empts duplicates from tracking params, session ids, pagination variants and uppercase/lowercase drift, even before any duplicate exists.
<link rel="canonical" href="https://example.com/Blog/Post/?id=42" />
<head> <link rel="canonical" href="https://example.com/Blog/Post/?id=42" /> </head>
Link: <https://example.com/Blog/Post/?id=42>; rel="canonical"
// app/your-route/page.tsx
import type { Metadata } from "next";
export const metadata: Metadata = {
alternates: {
canonical: "https://example.com/Blog/Post/?id=42",
},
};