Output will appear here
Click in the output to select all text
Output will appear here
Click in the output to select all text
Generate standard HTML meta tags, title, description, canonical, and robots tags.
Generate clean XML sitemap index and URL entries with priority, changefreq, and lastmod.
Generate standard robots.txt files with crawler user-agent rules and sitemap URL.
Run on-page SEO checks for title length, description length, headings, and readability.
Extract and classify all href links in HTML as internal, external, or nofollow.
The Canonical URL & Rel Tag Generator creates rel="canonical" tags and rel="alternate" hreflang tags, two of the most important technical SEO fixes for sites with duplicate or multilingual content. Canonical tags tell search engines which version of a page is authoritative when the same content is reachable through multiple URLs, while hreflang tags direct users to the correct language or regional version of a page. This tool is built for technical SEOs auditing large sites, developers handling internationalization, and marketers launching localized landing pages who need correct tag syntax without memorizing the ISO language and region codes. It runs entirely client-side in your browser - instant results, no signup, and no data ever leaves your device. Getting canonical and hreflang tags wrong is a common cause of indexing confusion and wasted crawl budget, so precise syntax matters. Because a single stray relative path or mismatched language code can silently misdirect an entire hreflang cluster, having a tool double-check the format before deployment is worth the extra few seconds. Scroll down to generate your canonical and hreflang tags now.
It tells search engines which URL is the preferred, authoritative version of a page when duplicate or near-duplicate content exists at multiple URLs.
No, Google treats rel="canonical" as a strong hint, not a command - it can choose a different canonical if other signals contradict your tag.
Hreflang tags tell search engines which language and regional version of a page to show users based on their location and language settings.
Always use absolute URLs (including https://) in canonical tags to avoid ambiguity and ensure correct crawler interpretation.
Yes, every page in a hreflang set must reference all other language versions, including itself, or search engines may ignore the annotations.
Yes, self-referencing canonical tags are standard practice and recommended even for pages with no duplicate content.
It specifies a fallback page shown to users whose language or region doesn't match any of your other defined hreflang variants.
Open Graph Tags: The Five You Actually Need
Open Graph tags decide how your links look on social. The five og: tags that matter, correct og image size, and the mistakes that break previews.
The Complete Guide to Meta Tags
Meta tags control how pages look in Google and on social. A complete 2026 guide to title, description, robots, canonical, Open Graph and Twitter tags.