Hreflang Tag Generator

Your workspaceProcessed on your device

Enter one language and page URL per line, separated by ->. Use x-default for an optional fallback.

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.

  1. Enter one language code and canonical page URL per line separated by ->. Add x-default when you have a fallback destination.
  2. Generate hreflang and resolve any line-specific findings. Choose HTML head tags or an XML sitemap for the selected origin.
  3. 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.