115 characters · 8 words · 115 bytes (UTF-8)
Output will appear here
Click in the output to select all text
115 characters · 8 words · 115 bytes (UTF-8)
Output will appear here
Click in the output to select all text
Generate rel="canonical" and rel="alternate" language tags to prevent duplicate content.
Generate standard HTML meta tags, title, description, canonical, and robots tags.
Generate clean XML sitemap index and URL entries with priority, changefreq, and lastmod.
This Hreflang Tag Generator turns a simple list of language codes and URLs into correctly formatted <link rel="alternate" hreflang> tags for multi-language or multi-region websites. Enter one "language-code, URL" pair per line — including an x-default fallback if you use one — and get validated, ready-to-paste tags for your page's <head>. Hreflang tags tell search engines which URL to show searchers based on their language and region, and small syntax mistakes are a common source of international SEO issues; this tool validates each URL and flags malformed lines before you ship them. Everything runs locally in your browser. Scroll down to enter your language/URL pairs.
It tells search engines which language/region version of a page to show a given searcher, helping avoid duplicate-content issues across localized URLs.
x-default marks the fallback page shown to users whose language/region doesn't match any of your other specified variants.
Paste each generated <link> tag into the <head> of every language/region variant of the page — each variant should list all the others, including itself.
Use ISO 639-1 language codes (e.g. en, fr) optionally combined with an ISO 3166-1 region code (e.g. en-GB, en-US).
No, it validates that each entry is a syntactically well-formed URL, not that the page actually exists or returns a 200 status.