Hreflang Tag Generator & Validator
Generate and validate hreflang tags for multilingual SEO in HTML, XML sitemap, and HTTP header formats.
Pick the locales your site serves and this builds the reciprocal hreflang set for each of them, x-default included, then flags the mistakes Google silently ignores: wrong code formats, duplicate locales, and a missing fallback.
The root URL of your site. Locale codes will be appended as path segments (e.g. /en/).
Shown to users whose language does not match any locale tag. Usually your default or English locale.
<link rel="alternate" hreflang="en" href="https://example.com/en/" /><link rel="alternate" hreflang="fr" href="https://example.com/fr/" /><link rel="alternate" hreflang="de" href="https://example.com/de/" /><link rel="alternate" hreflang="x-default" href="https://example.com/en/" />- Configuration looks good — no issues detected.
Paste these tags inside the <head> element of every localised page — each page must self-reference its own locale and include all siblings.
Lefine auto-generates hreflang for your localized app — no manual tag management required.Get started for free
Frequently asked questions
More free i18n tools
Free tools for the rest of your i18n workflow: locale data, ICU messages, file formats and hreflang.