Short answer
A top-level domain name is the last label in a domain, the part after the final dot. In example.com, com is the top-level domain and example is the second-level label. ICANN groups these labels as generic top-level domains, such as .com, and country-code top-level domains, such as .jp. Google says it returns the best result regardless of the top-level domain.
Last verified against the sources listed below.
Key takeaways
- IANA says the DNS root zone is mostly delegations of top-level domains, such as .edu or .in.
- ICANN's example is NET in www.example.net. The label before the TLD is the second-level domain.
- gTLDs include .com, .net, .edu, and .org, plus names from the New gTLD Program such as .pizza.
- ccTLDs are for countries and territories on the ISO 3166-1 list, such as .jp, .fr, and .ke.
- Google treats a ccTLD as a country signal, and it treats .tv and .me as generic.
- Google's site-position FAQ says a new gTLD is not what decides the best result.
what is top level domain name is a reading of the last label in a domain. In example.com, com is the top-level domain and example is the second-level label.
IANA describes the DNS root zone as the highest level of the naming hierarchy, principally composed of delegations of top-level domains such as .edu or .in. The label is the part a person recognizes as the extension. ICANN’s list of top-level domains says the valid list is the one IANA maintains.
A name you can register is a name under one of those delegated labels, and the website still needs hosting after the name exists.
RFC 8499 defines a top-level domain as a zone one layer below the root, such as com or jp. It says there is nothing special about those zones from the DNS point of view. Country-code and generic groups are a policy split, not a protocol rule.
Where does the TLD sit in the name?
It is the label after the last dot. The label in front of it is the second-level domain.
ICANN’s glossary, in the New gTLD materials, says top-level domains appear as the string of letters following the last dot, such as NET in www.example.net. The TLD administrator controls which second-level names that TLD recognizes. The same FAQ answers “what is a second-level domain” with the icann in icann.org.
A third label, such as events in events.icann.org, is a subdomain. Apply that rule to example.com and the split is mechanical: example is the second-level label, com is the TLD, and www.example.com adds one more label on the left.
The dot is a separator, not part of either label. Letter case does not create a different TLD. ICANN’s example writes NET in capitals and means the same label as .net.
What is a gTLD?
A generic top-level domain is not a country code. Familiar ones are .com, .net, .edu, and .org.
ICANN’s definition says this class also includes names from the New Generic Top-Level Domains Program, such as .futbol, .istanbul, and .pizza, and names in other alphabets and languages. ICANN coordinates the rules for registration inside gTLDs. Some gTLDs are sponsored.
A community’s sponsor writes the rules. ICANN’s examples are .aero, .coop, and .museum.
Google’s multi-regional documentation, updated 10 December 2025, uses a practical test. Unless ICANN lists a TLD as a country-code domain, Google treats a TLD that resolves through the IANA root as a gTLD. Its examples include .com, .org, .edu, and .gov. It also treats the regional names .eu and .asia as generic, because they are not a single country.
What is a ccTLD?
A country-code top-level domain is reserved for a country, territory, or geographic location on the ISO 3166-1 list.
ICANN’s ccTLD entry says these domains can use the two-letter codes from that standard, such as .jp for Japan, .fr for France, and .ke for Kenya. They can also represent a country or territory in a script other than US-ASCII. Because each ccTLD is managed locally, registration rules differ.
A registry can limit who may buy the name. Google repeats that warning and tells site owners to check before they rely on a country code.
| Kind | What the source says | Examples from that source |
|---|---|---|
| TLD | Label after the last dot | NET in www.example.net |
| Second-level | The label before the TLD | icann in icann.org |
| gTLD | Not a country code | .com, .net, .edu, .org, .pizza |
| Sponsored gTLD | A community writes the rules | .aero, .coop, .museum |
| ccTLD | ISO 3166-1 country or territory | .jp, .fr, .ke, .de |
| Vanity ccTLD Google treats as generic | Users read it as generic | .tv, .me, .io, .ai |
Google says a ccTLD such as .de for Germany or .cn for China is a strong signal, to users and to search engines, that the site is meant for that country. The same page lists vanity ccTLDs it treats as gTLDs, including .tv, .me, .io, .ai, and .co, and it says the list may change. A two-letter ending is not automatically a country target in Google.
Does the TLD change Google rankings?
The docs opened here do not treat the TLD as a ranking shortcut. A ccTLD can still signal a country.
Google’s site-position FAQ answers the new-extension question directly. “Google’s goal is to return the best and most relevant results to people, regardless of the top-level domain.” If the system decides the best result is a page on a new gTLD, Google says it will return that page. That is the opposite of a rule that .com outranks a newer extension, or that a new extension outranks .com.
Country targeting is a separate setting. Google says geotargeting can improve rankings in the target country and can cost you results in other locales. The URL options it describes are a country domain such as example.de, a subdomain such as de.example.com, or a directory such as example.com/de/.
It does not recommend stuffing the country into a query parameter. hreflang, server location, local addresses, and links from local sites are other signals. Google says it ignores locational meta tags such as geo.position.
How the internet works is the path from a name to an address. The TLD is only the first delegation from the root. It does not choose the page title, the language of the copy, or the host.
A favicon made from text can mark the site in a browser tab after the name resolves. The icon does not change the TLD.
Which mistakes are easy to make?
Reading www as the TLD, treating every short extension as a country, and buying a TLD for rank.
www is a label to the left of the second-level name. In www.example.net, ICANN’s own illustration, NET is the TLD. Stripping www does not create a new extension. Adding a city name as a subdomain creates a third-level label, which ICANN calls a subdomain, not a new top-level domain.
A second mistake is assuming .io or .ai targets a country in Google because the label has 2 letters. Google’s published list treats both as generic. If you need a country signal, the page points to a real ccTLD such as .de, or to a gTLD plus hreflang and locale URLs. Check the registry’s eligibility rules before you register, because ICANN notes that ccTLD policy is local.
A third mistake is choosing an extension because it might rank. The Google FAQ you can quote does not offer that lever. Pick the label people will understand, confirm it is in IANA’s root list, and put the ranking work into the page itself.
Frequently asked questions
What is a top-level domain and a second-level domain?
ICANN's new gTLD FAQ says every domain name ends with a top-level domain, the letters after the dot. The portion before that label is the second-level domain. Its example is the word icann in icann.org. A third-level name sits in front of the second-level name, also separated by a dot, as in events.icann.org. ICANN says third-level names are also called subdomains and are often used to mark a section of a site.
What top-level domain should I use?
Neither ICANN's glossary nor Google's site-position FAQ names a best TLD for ranking. Google's sentence is that it wants the best and most relevant result regardless of the top-level domain, and that a page on a new gTLD can be returned when the system judges it best. Pick a gTLD such as .com when the site is not tied to one country, or a ccTLD when you mean one country and can meet that registry's rules. Google notes that some ccTLDs have restrictions on who may register.
What is a top-level domain in DNS?
IANA describes the DNS root zone as the highest level of the naming hierarchy, principally composed of delegations of top-level domains. IANA assigns managers for those domains, records the technical delegation, and publishes the registry. ICANN's glossary says the administrators of the root zone control which TLDs the DNS recognizes, and the TLD administrator controls which second-level names exist under that TLD. The list people should trust is the IANA root zone database, not a blog roundup of extensions.
Does Google treat every two-letter domain as a country?
No. Google's multi-regional guide, last updated 10 December 2025, says ccTLDs such as .de and .cn are a strong country signal. The same page says Google treats some vanity ccTLDs as gTLDs because users and site owners see them as generic. The printed list includes .tv, .me, .io, .ai, .co, and others, and Google says the list may change. Regional names .eu and .asia are also treated as generic. Separately, Google says it ignores locational meta tags such as geo.position.
Are new gTLDs limited to three letters?
ICANN's FAQ on the New gTLD Program says an applied-for ASCII gTLD string must be 3 or more visually distinct characters. Two-character ASCII strings are not allowed, so they do not collide with current or future country codes from ISO 3166-1. Strings that are country or territory names are not available in that program. The program adds gTLDs, including names in other alphabets. It does not create new ccTLDs. ICANN points ccTLD establishment to a separate IANA procedure.
Sources
- Root Zone Management · IANA, 2026
- List of Top-Level Domains · ICANN, 2026
- Generic top-level domain (gTLD) · ICANN, 2026
- Country code top-level domain (ccTLD) · ICANN, 2026
- Frequently Asked Questions, New gTLDs · ICANN, 2026
- FAQ: Site Position in Google Search · Google Search Central, 2026
- Managing multi-regional and multilingual sites · Google Search Central, 2025
- RFC 8499: DNS Terminology · IETF, 2019