Hreflang generator
Show the right language and country version of your pages in Google. Generate hreflang tags as HTML, XML sitemap entries or HTTP headers, with checks for common mistakes.
How the generator works
List every version of a page, and get hreflang tags that are ready to paste.
Add your versions
Pick the language, and the country if it's country-specific, for each version of the page, with its URL.
Set a fallback
Choose an x-default version for visitors whose language or country you don't cover.
Pick your format
Get HTML tags for your page head, entries for your XML sitemap, or an HTTP header for PDFs.
Add it to every version
Paste the same full set into every version listed, so each page links to all the others and itself.
Expanding into new markets?
We plan and run international SEO for B2B SaaS, from site structure and hreflang to localised content that ranks.


Frequently Asked Questions
What are hreflang tags?
Hreflang tags tell Google which language and country each version of a page is for. They help Google show German visitors your German page and UK visitors your UK page, instead of the wrong version.
Do I need hreflang?
Yes, if you have the same page in more than one language, or versions for different countries in the same language, like US and UK pricing pages. If your site is in one language for one market, you don't need it.
What is x-default?
x-default is the version Google shows when none of your languages or countries match the searcher. It's usually your main international page or a language selector.
Should I use HTML tags or my XML sitemap?
Either works, and Google treats them the same. HTML tags are simplest for a few pages. The XML sitemap is easier to manage for large sites, because the tags live in one file instead of on every page. Use the HTTP header for PDFs and other non-HTML files.
What are the most common hreflang mistakes?
Missing return links, so page A points to page B but B doesn't point back. Wrong codes, like en-UK instead of en-GB. Pointing to URLs that redirect, are noindexed or aren't canonical. And leaving out the self-reference, where each page should list itself too.

