HomeGuidesgTLD vs ccTLD
Fundamentals

gTLD vs ccTLD

The practical difference between generic and country-code top-level domains, and why classification should come from IANA rather than guesswork.

On this page
TL;DR

gTLD and ccTLD are top-level-domain classifications. gTLDs are generic; ccTLDs are country-code domains associated with countries or territories. Both live in the DNS root, but their policy and governance frameworks differ.

The difference is classification

Both gTLDs and ccTLDs occupy the top level of DNS. The difference is not their technical depth in the namespace; it is how the TLD is classified and governed.

For a reference site, that classification should come from IANA's root-zone data. Do not infer it from the spelling of a TLD.

Side-by-side

gTLDccTLD
Namespace positionDirectly below the DNS rootDirectly below the DNS root
ClassificationGeneric / related IANA generic categoriesCountry-code
Policy modelDepends on the registry and applicable ICANN agreementDepends on the ccTLD manager and local policy framework
Good source for typeIANA Root Zone DatabaseIANA Root Zone Database

About country-code labels

Most ASCII ccTLDs are two-letter labels derived from the country-code system used by IANA. Internationalized country-code TLDs also exist and use IDN encoding at the DNS protocol layer.

IDN nuance

A native-script ccTLD may not look like two ASCII letters to a user. Its DNS representation still has an ASCII-compatible A-label.

Primary sources

These are the primary references this guide is designed around. When implementation data disagrees with editorial copy, the primary source wins.