Hreflang Tag Generator

Generate correct hreflang clusters with x-default.

Runs in your browser SEO & Website Free · No account

Input

Processed locally

This tool runs entirely in your browser. The data you paste or load is never uploaded.

Result

Enter your input, then run the tool.

About this tool

Builds hreflang link tags from language and region pairs, validates the codes, and ensures reciprocal entries including x-default. It warns about duplicate language-region combinations before you paste the tags.

How to use it

  1. Add one row per language and region with its URL.
  2. Set the x-default URL, usually the global or English version.
  3. Copy the tags into the head of every page in the cluster.

Frequently asked questions

Do the tags have to be reciprocal?
Yes. Every page in the cluster should list all versions, including itself. Asymmetric clusters are ignored.
Should I use hreflang or separate domains?
Both work. Hreflang describes the relationship; it does not change the URL structure you already have.

Keep going

More in this category