Canonical URL Generator

Generate a canonical link tag to point search engines at the preferred URL. Runs entirely in your browser.

Tracking parameters and the fragment are stripped automatically.

Processed on your device. This file is never uploaded.

  1. 1Paste the page URL, tracking parameters and all.
  2. 2The tool cleans it to the canonical form.
  3. 3Copy the rel=canonical tag into your <head>.

One preferred URL per page

The same content is often reachable at several URLs — with and without tracking parameters, with a trailing slash or not. Search engines can treat those as separate pages and split the ranking between them. A canonical tag names the one true version, and this tool builds it while stripping the noise that creates the duplicates in the first place.

Cleaned automatically

Paste a URL with campaign parameters and a fragment, and the generator removes them, shows the clean canonical, and wraps it in the link tag ready for your head. Everything runs on your device, so the URLs you check are never sent anywhere.

Frequently asked questions