๐ŸŒ

Hreflang Tag Generator

Generate hreflang tags for multi-language sites in HTML, XML or headers.

Advertisement
Ad slot: top
Use ISO codes: en, si, ta, hi, or language-region like en-GB, en-IN, si-LK.
The golden rule: hreflang must be reciprocal. Every page in the set has to list every other page โ€” including itself. If page A points to B but B does not point back to A, Google ignores the whole set.
Advertisement
Ad slot: incontent

About the Hreflang Tag Generator

List each language version with its URL and get the complete tag set in whichever form suits you โ€” link tags for the page head, entries for an XML sitemap, or HTTP Link headers for PDFs and other non-HTML files.

Invalid language codes are flagged before you publish, which catches the most common reason Google ignores hreflang entirely.

Frequently asked questions

Why is my hreflang being ignored?

Almost always because the tags are not reciprocal. Every page in the set must list every other page, including itself.

What is x-default for?

The page shown when no language version matches the user โ€” usually a language selector or your main international version.

Related tools

All SEO & Web โ†’
Advertisement
Ad slot: bottom