Skip to main content
atlookup
All free tools

Hreflang tag generator

Targeting multiple languages or regions? Add each version’s URL and get correct hreflang annotations — including x-default — to paste into every page.

hreflangURL
hreflang tags

        

Hreflang errors are easy to miss.

Missing return tags, wrong codes, and broken targets break international SEO silently. atlookup helps you catch on-page issues across every page. Free to start.

Run a free audit

What is hreflang?

The hreflang attribute tells search engines which language and region each version of a page targets, so they show the right version to the right user. It’s essential for sites that serve the same content in multiple languages or countries.

The rules that trip people up

How to use it

Add a row per version with its hreflang code and absolute URL. Copy the generated block into the <head> of every page in the set. All processing happens in your browser.

Related guides

Dig deeper in our docs, glossary, and fix library.

Frequently asked questions

Quick answers about this tool and the topic.
What is x-default in hreflang?
x-default is the fallback version shown to users whose language or region does not match any of your specified versions.
Do hreflang annotations need to be reciprocal?
Yes. Every page in the set must reference every other version, including itself, or search engines may ignore the annotations.
Where do hreflang tags go?
In the <head> of each page, in your XML sitemap, or as HTTP headers — pick one method and apply it consistently.