Free SEO Tool

Hreflang Tag Generator

Build correct hreflang annotations for every language and region version of a page, complete with x-default. Add rows, then copy the full block into your <head>.

Your Language Versions

Generated Tags

Place these in the <head> of every language version. Each page must list all versions (including itself) and they must point back to each other.

What This Tool Does & How To Use It

The hreflang attribute tells Google which language and region each version of a page targets, so the right version is shown to the right searcher and duplicate-content issues are avoided across translations.

  • Enter a language code (e.g. en, es) and an optional region (e.g. US, MX) for each version, plus its full URL.
  • Keep x-default enabled to define a fallback for users whose language you don't target.
  • Copy the generated block into the <head> of every version — the tags must be reciprocal.

Everything is generated locally in your browser; nothing is uploaded.

Want More Than Tools?

Our free browser tools give you a head start — but a tailored Chicago SEO strategy is what wins the local pack. Get a free, no-obligation audit of your site.

Get Your Free SEO Audit
Copied to clipboard