About this tool
Builds the canonical link tag and matching og:url meta for any page URL, helping avoid duplicate-content issues. Generated in your browser.
Enter a full address including the scheme. The tool runs it through the browser's URL parser and uses the normalized result: the hostname is lowercased, a bare domain gets a trailing slash, a default port such as :443 is removed, spaces are percent-encoded and dot segments are resolved. Anything the parser rejects, such as an address without https://, shows an error.
The output is a link rel="canonical" tag and a meta property="og:url" tag with the same address, HTML-escaped so an ampersand becomes &. Query strings and #fragments are kept as parsed, so remove them from the input if unwanted. The tool only builds text; it does not fetch the page or check that the address exists.