Country Code Top-Level Domains (ccTLDs) — Using Country Codes in DNS

Learn how ISO 3166-1 alpha-2 codes are used as country code top-level domains (ccTLDs) for websites, including popular creative uses like .io, .tv, and .ai.

Web & DNS

Detailed Explanation

What Are ccTLDs?

Country code top-level domains (ccTLDs) are two-letter domain extensions assigned to countries and territories. They are directly derived from ISO 3166-1 alpha-2 codes (with a few exceptions like .uk instead of .gb for the United Kingdom).

Standard ccTLD Usage

Most countries use their ccTLD for local businesses and organizations:

ccTLD Country Example
.de Germany bmw.de
.jp Japan toyota.jp
.fr France paris.fr
.br Brazil uol.com.br
.cn China baidu.cn
.in India irctc.co.in

Creative and Commercial ccTLDs

Some ccTLDs have become popular for non-geographic purposes:

ccTLD Country Popular Use
.io British Indian Ocean Territory Tech startups and open-source projects
.tv Tuvalu Streaming and video platforms
.ai Anguilla Artificial intelligence companies
.co Colombia Alternative to .com for businesses
.me Montenegro Personal websites and portfolios
.fm Micronesia Radio stations and music platforms
.gg Guernsey Gaming communities
.to Tonga URL shorteners (link.to)
.ly Libya Short URLs and analytics (bit.ly)
.la Laos Los Angeles-related sites

SEO Implications

Search engines treat ccTLDs as a geo-targeting signal. A site on .de is assumed to target German users. This affects:

  • Local search rankings — ccTLDs rank better in their respective countries
  • International SEO — Use subdirectories (/de/) or subdomains (de.example.com) with gTLDs for multi-country sites
  • hreflang tags — Combine ccTLDs with hreflang for precise geo-language targeting

ccTLD Registration Policies

Policies vary by country:

  • Unrestricted — .com.au (was restricted, now open), .co, .io, .tv
  • Restricted to residents — .fr (French entities), .cn (Chinese entities)
  • Restricted to government — .gov (US federal), .go.jp (Japanese government)

Notable Exceptions

  • .uk — Used instead of .gb (the actual alpha-2 code for United Kingdom)
  • .eu — Assigned to the European Union, not a country
  • .su — Soviet Union code, still active despite the country no longer existing

Use Case

A multinational corporation registers country-specific domains (.de, .jp, .br) for local market presence. Each domain serves localized content while the main .com handles global traffic. The SEO team uses hreflang tags to connect all versions.

Try It — Country Code Reference

Open full tool