Category: Developer tools
canonical URL builder
Normalize a URL into a candidate for rel=canonical
Choose https, www, trailing slash, query and fragment rules to build a rel=canonical URL candidate. Runs locally in your browser and does not upload data to LocalTools.
https://example.com/Blog/Post/?ref=homepage
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Choose https, www, trailing slash, query and fragment rules to build a rel=canonical URL candidate. Runs locally in your browser and does not upload data to LocalTools. Search engines treat http and https, www and non-www, and trailing-slash variants of a page as different URLs unless a canonical URL tells them otherwise. This tool applies a consistent set of normalization rules, scheme, host casing, www prefix, trailing slash, and optionally the query string and fragment, to turn any URL variant into one canonical candidate you can use in a rel=canonical tag. Runs locally in your browser and does not upload data to LocalTools.
How to use it
- Paste the input.
- Review the result and any issue details.
- Copy the result.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I generate a canonical URL for rel=canonical?
- Choose https, www, trailing slash, query and fragment rules to build a rel=canonical URL candidate. Runs locally in your browser and does not upload data to LocalTools.
- Should a canonical URL keep the query string or trailing slash?
- Choose https, www, trailing slash, query and fragment rules to build a rel=canonical URL candidate.
- Can I see what the tool used for the result?
- Yes. The page shows the result plus the matched items or issue details relevant to the tool.
- Is my input uploaded?
- No. The input, settings and result are processed locally in your browser.
- What does this tool not support?
- It does not crawl your site, inspect Search Console, write HTML tags, create 301 redirects, or promise ranking or indexing outcomes; it only builds one canonical URL candidate from the rules you choose.