Free tool · No signup required

Hreflang Tag Generator

Tell Google which language and region each version of a page is for. Add your URLs and get the hreflang tags to paste into every page.

Hreflang tags
…

If you publish the same page in more than one language or for more than one region, hreflang tags tell Google which version to show which searcher, so French readers get the French page and US readers get the US one. Get them wrong and Google ignores them. This free generator builds a clean, reciprocal-ready set of hreflang tags, including the x-default fallback, from your URLs.

How it works

1

Add your default URL

This becomes the x-default, the fallback when no language fits.

2

Add a row per language/region

A code (en, en-US, fr, pt-BR) and the matching page URL.

3

Copy the tags

Paste the same full set into the <head> of every page in the group.

Built into Klairova, free

This calculator is a taste of what Klairova does. Run real campaigns, track every click to every sale, send rate cards and invoices, and get paid in 160+ currencies. Free to use.

Frequently asked questions

What is the x-default value for?

x-default marks the page to show when none of your language or region versions match the searcher, often your main or language-picker page. It is optional but recommended.

Why must hreflang be reciprocal?

If page A points to page B as its French version, page B must point back to A. Google ignores one-way hreflang. The simplest safe approach is to put the identical full set of tags on every page in the group.

Do I need hreflang on a single-language site?

No, it is only for pages that exist in multiple languages or regions. On Klairova, the localized public pages already include reciprocal hreflang automatically, so you only need this tool for other sites you run.