A gTLD (generic top-level domain) is an extension like .com or .shop that is usually open worldwide and not tied to any nation. A ccTLD (country-code top-level domain) is a two-letter extension like .uk or .de that represents a specific country and is run by that country's own registry under rules it sets itself.
Both kinds of extension live at the same place — the right-most label of a domain, after the final dot. So at a glance, shop.com and shop.de look like siblings. The difference is not where they sit but who governs them and what they signal. One is a global, category-style label; the other is a national one.
If you have not met the underlying concept yet, start with what a TLD is. This guide assumes you know that a top-level domain is the ending of a web address, and focuses on the split between the two most common families.
What does each term actually mean?
A generic top-level domain is an extension that ICANN created to serve a purpose or theme rather than a place. The classic examples — .com for commercial use, .org for organizations, .net for networks — are decades old and effectively unrestricted today. Hundreds of newer gTLDs such as .app, .blog and .store joined them after ICANN opened its New gTLD Program in 2012, expanding the system from a handful of options into a vast menu.
A country-code top-level domain is different in origin. Each one is a two-letter code taken directly from the ISO 3166-1 standard, the same list of country abbreviations used on passports and licence plates. .us is the United States, .de is Germany (from Deutschland), .jp is Japan. IANA delegates each code to a registry inside that country or territory, which then decides who may register names and at what price. To go deeper on this family, read what a ccTLD is or our overview of country-code domains explained.
A ccTLD is a two-letter top-level domain assigned to a country or territory under ISO 3166-1 and operated by a national registry. A gTLD, by contrast, is a multi-letter generic extension that is normally global and category-based rather than national.
How do gTLDs and ccTLDs compare side by side?
The table below lines up the two families across the points that matter most when you are choosing. Counts are approximate and shift as extensions are added or retired.
| gTLD (generic) | ccTLD (country-code) | |
|---|---|---|
| Definition | A global or themed extension not tied to a country, created under ICANN policy. | A two-letter code for a country or territory, taken from ISO 3166-1. |
| Who can register | Usually open to anyone, anywhere. Yes | Often restricted or requires a local link. No (not always open) |
| Geotargeting signal | Geographically neutral; set the target country manually. No | Built-in signal that you serve one nation. Yes |
| Examples | .com .org .net .app .shop | .us .uk .de .jp .ca |
| Best for | Global brands, products and audiences in more than one country. | Local businesses, national audiences and country-specific trust. |
| Number available | ~1,200 extensions | ~300 extensions |
Notice that the “who can register” and “geotargeting” rows pull in opposite directions. A gTLD trades the automatic local signal for openness and global reach; a ccTLD trades some openness for a strong, built-in sense of place.
When a ccTLD pretends to be generic
Some countries market their code worldwide because the letters spell something useful. .io (British Indian Ocean Territory) reads as “input/output” to developers, .co (Colombia) doubles as a short stand-in for .com, and .tv (Tuvalu) is sold to broadcasters. These are technically ccTLDs but are used as if they were generic. They blur the line, so judge each on its actual registry rules, not just its meaning.
Does the choice affect SEO and trust?
For search, the headline difference is geotargeting. A ccTLD comes with a hard-wired country association, so search engines assume a .de site is meant for German users. A gTLD carries no such signal on its own; if you want a generic domain to rank in a particular country, you typically declare that target inside a tool such as Google Search Console. Neither approach is “better” in the abstract — it depends on whether you serve one country or many. We unpack this further in do TLDs affect SEO.
Trust works similarly. Visitors in Britain may feel more at home buying from a .uk address, while a worldwide audience tends to default to the familiarity of .com. The extension shapes a first impression before anyone reads a word of your content.
A simple rule of thumb
Selling to one country and want local credibility? A ccTLD is a natural fit. Building a brand that should travel across borders? A gTLD — usually .com — keeps you flexible. Many organizations register both: a global gTLD as the home base, plus the relevant ccTLDs to defend the brand and serve local markets.
How should you pick between them?
Work backwards from your audience rather than from the extension. Ask yourself three questions:
- Where are your customers? One country points toward a ccTLD; several point toward a gTLD.
- Can you even register it? Check whether the ccTLD you want demands local presence, a business registration or residency — rules vary by registry.
- What is available? Your ideal name may be taken in
.combut free in a relevant ccTLD or a newer gTLD, which can settle the decision for you.
For a full walkthrough of weighing price, availability and audience, see how to choose a domain extension. When you are ready to buy, how to register a domain name covers the practical steps.
★ Key takeaways
- A gTLD is a generic, usually global extension like
.com; a ccTLD is a two-letter country code like.uk. - gTLDs are mostly open to anyone; ccTLDs are run by national registries that may restrict registration.
- ccTLDs carry a built-in geotargeting signal; gTLDs are neutral and target countries manually.
- Choose by audience: one country leans ccTLD, many countries lean gTLD — and many brands register both.
Frequently asked questions
What is the difference between a gTLD and a ccTLD?
A gTLD (generic top-level domain) is an extension such as .com, .org or .shop that is usually open to anyone worldwide and is not tied to any country. A ccTLD (country-code top-level domain) is a two-letter extension such as .uk, .de or .jp that represents a specific country or territory and is run by that country's own registry, which sets its own registration rules.
Is .com a gTLD or a ccTLD?
.com is a gTLD. It is the most widely used generic top-level domain in the world, it is open to registrants anywhere, and it is not associated with any single country. Two-letter extensions like .uk or .co are the country-code TLDs.
Are ccTLDs better for local SEO?
A ccTLD sends a strong signal to search engines that your site targets one country, which can help you rank for audiences there. A gTLD is geographically neutral, so you usually set its target country manually in a tool like Google Search Console. If you serve a single nation, a ccTLD is convenient; if you serve several, a gTLD keeps your options open.
Can anyone register a ccTLD?
It depends on the country. Many ccTLDs, such as .co and .io, are sold openly to anyone in the world. Others require a local presence, a registered business, or even residency. Because each national registry sets its own policy, you should always check the eligibility rules for the specific ccTLD before you try to register it.
How many gTLDs and ccTLDs are there?
There are more than 1,500 top-level domains in the IANA root zone. Roughly 1,200 of these are generic TLDs, including hundreds of newer extensions launched after 2012, and around 300 are country-code TLDs, one for almost every nation or territory listed in the ISO 3166-1 standard.
Sources & further reading
- IANA — Root Zone Database (every gTLD and ccTLD, with its registry)
- ICANN — About country-code TLDs
- ICANN — New gTLD Program
- Related: what a gTLD is, what a ccTLD is, how to choose a domain extension