Skip to content
Surfilby Adam Hafez
Free tool

ccTLD vs subdomain vs subdirectory planner

ccTLD vs subdomain vs subdirectory: rank four international URL structures against Google's documented pros and cons for you. Free, runs in your browser.

Runs entirely in your browser. Nothing you enter is uploaded, logged or stored.

Key takeaways

  • Google's documentation lists four URL structures for geotargeting and marks URL parameters as not recommended.
  • A country-code domain gives the clearest geotargeting signal but can only target one country and costs more to run at scale.
  • A subdirectory is low maintenance because it stays on one host, but it keeps a single server location for every region.
  • A subdomain is the middle ground: easy to set up and able to use different server locations, at the cost of a less obvious URL.
  • Google advises against using IP analysis to adapt content and recommends separate URLs per language with hreflang annotations.

What it takes

  • The number of countries or regions you need to target
  • Whether separate country domains are within budget
  • Whether content or server response needs to differ by server location
  • Whether low ongoing maintenance is a priority

More tools

All of them free, all of them browser-only.

Browse the tools

How to use it

  1. 1Enter how many countries or regions you need to targetA ccTLD only covers one country each, so this number matters directly to that option's ranking.
  2. 2Set whether separate domains are affordableGoogle's documentation lists a ccTLD as more expensive and infrastructure-heavy than the alternatives, so this answer swings the recommendation hard.
  3. 3Flag whether server location genuinely needs to differOnly a ccTLD or subdomain structure supports different server locations per region; a subdirectory stays on one host.
  4. 4Set your maintenance preferenceA subdirectory is the lowest-maintenance option in Google's own documentation, since it needs no new domains or subdomains to manage.
  5. 5Read the ranked list and its reasonsEach option lists the exact documented pros and cons behind it, not just a score, so you can see why the top pick won.

Choosing between a country domain, a subdomain and a subdirectory is the first decision in any international SEO project, and it is expensive to reverse. This planner takes four answers about your countries, budget and infrastructure and ranks each structure against the pros and cons Google publishes in its guide to multi-regional and multilingual sites.

What this planner compares

Google’s documentation lays out four URL structures for targeting a country. The planner shows all four, with the pros and cons transcribed from that table:

  • Country-specific domain (ccTLD), such as example.de. Pros: clear geotargeting, server location irrelevant, easy separation of sites. Cons: expensive, more infrastructure, sometimes strict ccTLD requirements, and it can only target a single country.
  • Subdomain with a gTLD, such as de.example.com. Pros: easy to set up, allows different server locations, easy separation. Con: users might not recognize geotargeting from the URL alone, since “de” could mean a language or a country.
  • Subdirectory with a gTLD, such as example.com/de/. Pros: easy to set up, low maintenance on the same host. Cons: unclear geotargeting in the URL, a single server location, and harder separation.
  • URL parameters, such as example.com?loc=de. No pros. Google marks it “Not recommended”.

How the ranking works

Your answers add or subtract points from each option, and the highest total becomes the recommendation:

AnswerEffect
Any inputURL parameters -10
More than one countryccTLD -1
More than one country, no domain budgetccTLD -4 more
Domain budget availableccTLD +3
No domain budgetSubdomain +1, subdirectory +1
Server location must differSubdomain +3, subdirectory -2
Prefer lowest maintenanceSubdirectory +3

The pros and cons are Google’s. The point values are this tool’s own way of turning that table into a ranked answer, so read the reasons printed under the recommendation rather than treating the order as Google’s verdict. When two options tie, the one listed first in Google’s table keeps the higher place.

How to read the results

The top panel names the recommended structure with an example URL and lists every reason that moved its score. Below it, all four options appear in ranked order with their documented pros and cons, so you can see what you give up by taking the winner. The runner-up is the answer if one constraint turns out to be wrong.

Worked example

The planner opens with 4 countries, no budget for separate domains, no need for different server locations, and a preference for low maintenance. The scores come out as:

  • Subdirectory: 4 (low maintenance +3, no new domains +1). Recommended.
  • Subdomain: 1 (no new domains +1).
  • ccTLD: -5 (four countries without budget -4, single-country limit -1).
  • URL parameters: -10.

Tick “server location needs to differ” and the subdomain climbs to 4 while the subdirectory falls to 2, so the subdomain wins, because only it and a ccTLD allow different server locations. Set 1 country, a domain budget and no other preferences, and the ccTLD wins with 3 points.

What the URL does not settle

Structure is one signal among several. Google lists ccTLDs, hreflang, server location and other signals such as local addresses, phone numbers, language and currency on the page. It calls server location “not a definitive signal”. It also warns against serving different content to visitors by IP address: IP location analysis is “difficult and generally not reliable”, and most Google crawls come from the US. Whichever structure you pick, Google recommends separate URLs for each language version, annotated with hreflang so Search can link to the right version.

Sources

  1. 1.Managing multi-regional and multilingual sites - Google Search CentralPrimary
  2. 2.URL structure best practices for Google Search - Google Search Central

Common questions

Is a subdirectory or a subdomain better for international SEO?

Google's documentation does not name one as best. It lists a subdirectory as easy to set up and low maintenance but tied to a single server location, and a subdomain as easy to set up with different server locations allowed. This planner picks between them based on whether you need a server split and how much maintenance you will accept.

When is a ccTLD worth the cost?

Google lists a country-code domain as the clearest geotargeting signal, but also as expensive, heavier on infrastructure and able to target only one country. In this planner a ccTLD rises only when you say separate domains are affordable, and it loses ground for every additional country you target.

Why does the planner always rank URL parameters last?

Google's table marks URL parameters such as site.com?loc=de as not recommended, with no pros listed. The planner subtracts 10 points from that option whatever you enter, so it cannot win.

Can I serve different content by visitor IP instead of separate URLs?

Google advises against it: "Don't use IP analysis to adapt your content." It adds that most Google crawls originate from the US, so a crawler may never see your other versions. Google recommends different URLs for each language version, with hreflang annotations.

Are the scores Google's?

No. The pros and cons are transcribed from Google's documentation, but the point values used to rank them are this tool's own weighting. Read the listed reasons, not just the order.

Tools

humans.txt generator

humans.txt generator: build a humans.txt file with TEAM, THANKS and SITE sections from the humanstxt.org template. Free, runs in your browser.