Hreflang Tag Generator
Your workspaceProcessed on your device
A few things to know.
Up to 32 mapping lines. Full HTTP(S) URLs must serialize to fewer than 2,048 characters and omit fragments and credentials. Supports known two-letter languages with optional script and two-letter region codes, and x-default. Exports a sitemap for each distinct origin and limits generated alternate markup to 2 MB. Only the supplied mappings are checked. No URLs are fetched.
- Enter one language code and canonical page URL per line separated by ->. Add x-default when you have a fallback destination.
- Generate hreflang and resolve any line-specific findings. Choose HTML head tags or an XML sitemap for the selected origin.
- Copy or download the output. For HTML, install the same set on each listed page and check the published pages for self-references and return links.