Meta & Tags

Hreflang Tag Generator

Generate valid hreflang markup for any number of language and region combinations, including the required x-default entry.

Output
Output will appear here…

About the Hreflang Tag Generator

Hreflang is the most error-prone piece of international SEO. Return tags must be reciprocal, codes must follow ISO 639-1 and ISO 3166-1, and a missing x-default leaves unmatched visitors unrouted.

Add your language and region pairs here and the generator writes a complete, reciprocal set of annotations including the x-default entry.

How to use the Hreflang Tag Generator

  1. Add one row per version of the page: language code, optional region code, and the absolute URL.
  2. Set an x-default row pointing at your language selector or global fallback page.
  3. Copy the full block and place the identical block on every listed page — hreflang only works when the references are mutual.
  4. Verify in Search Console's International Targeting report once Google has recrawled the set.

Frequently asked questions