Skip to main content
Premium Tool

Region Version Generator

Create region-specific page versions with proper hreflang annotations by defining country-level URL variants from your master pages.

Loading tool…

A quick orientation: this page explains how the region version generator creates region-specific page versions from a base page, walks through the setup process, covers the region-targeting mistakes that cause search engines to serve the wrong version, and explains how this tool differs from language-only hreflang generators.

What is a region version generator?

A region version generator creates localized page versions that target specific geographic regions rather than just languages. While a language code like es targets all Spanish speakers globally, a region code like es-MX targets Spanish speakers specifically in Mexico. This distinction matters when your content — pricing, legal terms, shipping options, phone numbers, or cultural references — varies by country even within the same language.

The generator takes a base page URL and produces a set of region-specific versions, each with the correct BCP 47 locale code and URL. If you have an English page that needs to target the US, UK, Australia, and Canada separately, the generator creates entries for en-US, en-GB, en-AU, and en-CA, along with the appropriate URL for each version. It also generates a language-only fallback (en) for English speakers in regions you haven't explicitly targeted.

Region versioning sits at the intersection of language targeting and geographic targeting. The hreflang specification supports both — you can declare language-only codes, region-specific codes, or a mix of both. The region version generator helps you plan and produce the correct set of region-specific entries, including the often-overlooked language-only fallback. All processing happens in your browser.

How to use this region version generator

Follow these steps to create region-specific page versions:

  1. Enter your base page URL. Start with the absolute HTTPS URL of the page you want to regionalize. This is typically the generic language version — for example, https://example.com/en/pricing.

  2. Select the base language. Choose the ISO 639-1 language code for your base page (e.g., en for English, es for Spanish). This determines which regional variants the tool suggests.

  3. Add target regions. For each region you want to target, add a region entry. The tool suggests common regions for your base language — for English: US, GB, AU, CA, IE, NZ; for Spanish: ES, MX, AR, CO, CL, PE. Select the regions that have distinct content on your site.

  4. Specify regional URL patterns. For each region, enter the absolute HTTPS URL of the region-specific page. Common patterns include subdirectory-based (/en-us/pricing, /en-gb/pricing), subdomain-based (us.example.com/pricing), or parameter-based (example.com/pricing?region=us). The generator validates each URL.

  5. Configure the language fallback. Decide how the generic language code (en without a region) is handled. Options: point it to your primary regional version, point it to a region-selection page, or omit it entirely (not recommended). The generator defaults to including a language-only fallback pointed at your primary region.

  6. Generate region versions. The output shows every region-specific entry plus the language fallback and x-default, ready to be used with the hreflang tag generator to produce the final tag markup.

Common errors and how to fix them

These are the five region-targeting mistakes that most often cause search engines to serve the wrong page version.

  1. Missing the language-only fallback. If you declare en-US, en-GB, and en-AU but omit plain en, users in Canada, India, or any other English-speaking country not explicitly listed get no English result from your hreflang annotations. The generator always includes the language-only fallback unless you explicitly exclude it.

  2. Using country codes as language codes. Writing hreflang="us" instead of hreflang="en-US" is invalid. Country codes are not language codes. The hreflang attribute requires the language code first, optionally followed by a region code. The generator enforces correct BCP 47 format.

  3. Inconsistent region content. Declaring en-GB but serving identical content to the en-US page (same prices in USD, same phone format) sends a false signal to search engines. Only create region versions for pages where the content genuinely differs. The generator includes a checklist reminder of content elements that typically vary by region.

  4. Conflicting region and language signals. Having en-US point to one page and generic en point to a completely different page with different content (not just different regional details) confuses search engines about which page serves English speakers. Region versions should be variations of the same content, not different content entirely.

  5. Omitting x-default for multi-region setups. When you have multiple region-specific versions, the x-default entry becomes especially important as the catch-all fallback. The generator requires x-default configuration before producing output.

How this tool is different

Four things set this region version generator apart from language-only hreflang tools:

Everything runs in your browser with no server processing. For more on region versus language targeting strategy, see the what is hreflang guide.

Frequently asked questions

  • What is a region version in hreflang terms?
    A region version is a page variant targeted at a specific country or region, using a language-region hreflang code like en-US, en-GB, or pt-BR to distinguish it from other versions in the same language.
  • When should I use region-level targeting instead of language-only?
    Use region-level targeting when you have content differences between countries that share a language, such as pricing in different currencies, local regulations, or region-specific product availability.
  • How many region versions can I create per page?
    There is no limit. Create as many country-specific versions as your business requires — the tool handles any number of region variants per master page.
  • Does it generate both the URLs and the hreflang tags?
    Yes. The tool produces the full alternate URL set and the corresponding hreflang annotations in your chosen output format.
  • What URL structures are supported for regions?
    Subdirectory (/en-us/), subdomain (us.example.com), ccTLD (example.co.uk), or any custom pattern you define.
  • How does it handle a page that exists in en-US and en-GB but not en-AU?
    You mark which regions apply per page. The tool only generates hreflang entries for regions where the page variant actually exists.
  • Can I set a fallback for regions I don’t target?
    Yes. Use x-default to point non-targeted regions to a generic language page. The tool includes x-default automatically in every set.
  • Does it validate region code correctness?
    Yes. The tool checks all language-region codes against ISO 639-1 and ISO 3166-1 standards and flags any invalid combinations.
  • Can I bulk-create region versions from a CSV?
    Yes. Upload a CSV mapping master URLs to their region variants, and the tool generates all hreflang annotations at once.
  • Is there any account requirement?
    No. The region version generator works without signup, login, or any form of registration.

Related tools