SYSTEM TIME --:--:-- IST · 152 TOOLS LIVE · RUNS IN YOUR BROWSER — NOTHING UPLOADED
← Back to SEO & SOCIAL
SEO & SOCIAL

Hreflang Generator: US and UK English

Generate hreflang tags distinguishing US English and UK English versions of a page.

About this tool

Generate the hreflang tags that tell Google which version of a page to show searchers in a specific language or region — without needing to memorize the exact attribute syntax or language/region code format.

Each tag needs a language code (like en for English, or fr for French), optionally combined with a region code (like en-gb for UK English, distinct from en-us for US English) — language alone targets everyone who reads that language regardless of location, while adding a region narrows it further. The special x-default value marks the page to show when none of the other language/region tags match a visitor, most commonly used for a generic language-selector or global landing page.

A very common real mistake is a missing or broken reciprocal link — every page listed should also list every other page back, including itself. This tool doesn't verify the pages listed actually exist or link back to each other; it generates syntactically correct tags to paste into your own pages, but the reciprocal linking itself is on you to set up correctly across pages.

Frequently asked questions

Do I need a region code, or just a language code?

Just a language code (like en) targets everyone who reads that language, anywhere. Adding a region (like en-gb) narrows it to a specific country’s version — use whichever matches how your content actually varies by version.

What does x-default do?

It marks which version to show a visitor when none of your other language/region tags match them — commonly a language-selector page or your most general/global version.

Does this check that my pages link back to each other?

No — it generates syntactically correct tags for the URLs and codes you enter, but doesn’t verify those pages exist or reciprocally list each other, which is a common real source of hreflang errors worth double-checking yourself.

Where do these tags go?

In the <head> section of every page listed, with the complete same set of tags (including a self-referencing one) repeated identically across all of them.

Other countdown scenarios

Related tools