TLD – Nearly Complete List – Top Level Domain Country Extensions


Recently we needed to pull together a list of top level domains for an international SEO project we’re working on. It’s tedious stuff and there’s not much out there by way of a comprehensive list. If we were just dealing with the US, then it’s easy: .com, .net, .org, .edu, .gov, .us, etc. Most of us have seen these, and a few others. But what about obscure TLDs like or or Confusing, right?

In my search I found a few resources which helped me piece everything together. The first was the TLD list on Wikipedia. This was helpful as a starting point, and is a great resource for learning more about the requirements of each country. For example, a couple of years ago I bought a 3-letter domain with the extension .am for $129. And then I did my research and discovered that Armenia has very strict guidelines regarding the content hosted on their top-level-domain, and could confiscate any domains that didn’t abide by their strict requirements (similar to the Violet Blue URL shortener scandal where Libya took back her website; thankfully we have no such restrictions on our on-hold UTags URL shortener at

Regardless, this wasn’t quite the list we needed and did not have 2nd and 3rd level domains (e.g. as opposed to just .uk). After further investigation, we found this TLD list on Mozilla. This was about as close as we could get to a complete list. However, while useful for the typical end-user, the data was not in a format that we could use. Hence, the current project.

Compiling the TLD List

After some arduous labor and some Excel magic, we developed a usable list that could be imported into a PHP script or MySQL (or SQL) database relatively easily. It’s not perfect, and not fully complete, but the data is workable. Below is the complete list of TLDs in various formats, organized by country, mashed up in a single string and even converted into a usable PHP array. Feel free to use this list for your own projects, and contact us if you find an error or have expanded upon it and would like to contribute. You may distribute the list freely as long as you leave Consorte Marketing in the filename or link back to this page from anything you publish on the internet.

Download CSV Spreadsheet of TLDs, PHP Array & Code Example


Domain Extension List by Country Code

TLD Variations
ac ac,,,,,,
ad ad,
ae ae,,,,,,,,
aero aero
af af,,,,
ag ag,,,,,
ai ai,,,,
al al,,,,,,,,,,
am am
an an,,,,
ao ao,,,,,,
aq aq
ar ar,,,,,,
arpa arpa,,,,,,
as as
at at,,,,,
au au,,,,,,,,,,,,,,,,,,, and,, act, nsw, nt, qld, sa, tas, vic, wa
aw aw,
ax ax
az az,,,,,,,,,,,
ba ba
bb bb,,,,,
bd bd,,,,,,
be be,,,,,,,
bf bf,
bg bg
bh bh
bi bi
biz biz
bj bj
bm bm,,,,,
bn bn,,,,
bo bo,,,,,,,,,
br br,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
bs bs,,,
bt bt,,,,,
bv bv
bw bw,,
by by,,
bz bz
ca ca,,,,,,,,,,,,,,
cat cat
cc cc,
cd cd,,,
cf cf
cg cg
ch ch,,,,
ci ci
ck ck,
cl cl
cm cm
cn cn,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
co co,,,,,,,
com com
coop coop
cr cr,,,,,,,
cu cu,,,,,,
cv cv
cx cx,
cy cy,,,,,,,,,,,,,
cz cz
de de
dj dj
dk dk
dm dm,,,,,
do do,,,,,,,,,,
dz dz,,,,,,,,
ec ec,,,,,,,,,,
edu edu
ee ee,,,,
eg eg,,,,,,,,
er er
es es,,,,,
et et,,,,,,,,
eu eu
fi fi,
fj fj,,,,,,,,,,,
fk fk,,,,,,
fm fm
fo fo
fr fr,,,,,,,
ga ga
gb gb
gd gd
ge ge,,,,,,,
gf gf
gg gg,,,
gh gh,,,,,
gi gi,,,,,,
gl gl
gm gm
gn gn,,,,,
gov gov
gp gp,,,,,,,,, or,
gq gq
gr gr,,,,,
gs gs
gt gt
gu gu
gw gw
gy gy
hk hk,,,,,,
hm hm
hn hn,,,,,,
hr hr,,,,
ht ht,,,,,,,,,,,,,,,,,
hu hu,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
id id,,,,
ie ie,
il il,,,,,,,,
im im,,,,,,,,
in in,,,,,,,,,,,,
info info
int int,
io io
iq iq
ir ir,,,,,,
is is,,
it it,,,
je je,,,
jm jm,,,,,
jo jo,,,,,,
jobs jobs
jp jp,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ke ke
kg kg
kh kh,,,,,,,
ki ki
km km
kn kn
kr kr,
kw kw,,,,,,
ky ky,,,,,
kz kz,,,,,,
la la
lb lb,,,,,
lc lc,,,,
li li,,,,
lk lk,,,,,,,,,,,,,,
lr lr,,,,,
ls ls,,
lt lt,,
lu lu,,,,
lv lv,,,,,,,,,
ly ly,,,,,,,,,
ma ma,,,,
mc mc,,
md md
mg mg,,,,,,,,, !!
mh mh
mil mil,,, .
mk mk,,
ml ml
mm mm
mn mn
mo mo,,,,,
mobi mobi,,, .
mp mp
mq mq
mr mr
ms ms
mt mt,,,,,
mu mu,,
museum museum
mv mv,,,,,,,,,,,,,,
mw mw,,,,,,,,,,
mx mx,,,,,
my my,,,,,,,
mz mz
na na
name name
nc nc
ne ne
net net
nf nf
ng ng,,,,,
ni ni,,,,,,
nl nl
no no,,,,,,,,,,,
np np,,,,,,
nr nr,,,,, nr,,,,
nu nu
nz nz,,,,,,,,,,,,
om om,,,,,,,,,,,,,
org org
pa pa,,,,,,,,,,,
pe pe,,,,,,,
pf pf,,,
pg pg,,
ph ph,,
pk pk,,,,,,,,,,,,,
pl pl,,,,,,,,,, mil.plæ,,,,,,,,,,,,,,
pm pm
pn pn
pr pr,,,,,,,,,,
pro pro,,,
ps ps,,,,,,,
pt pt,,,,,,,,
pw pw
py py,,,,,
qa qa
re re
ro ro,,,,,,,,,,,
ru ru,,,,,,,, !!
rw rw,,,,,,,,,
sa sa,,,,,,,,
sb sb,,,,
sc sc,,,,,
sd sd,,,,,,,,
se se,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
sg sg,,,,,,,
sh sh
si si
sj sj
sk sk
sl sl
sm sm
sn sn
so so
sr sr,
st st
su su
sv sv,,,,,
sy sy,,,
sz sz
tc tc
td td
tf tf
tg tg
th th,,,,,,,
tj tj,,,,,,,,,,,,,
tk tk
tl tl
tm tm
tn tn,,,,,,,,,,,
to to,
tp tp,
tr tr,,,,,,,,,,,,,,,,,,,
travel travel
tt tt,,,,,,,,,,,
tv tv,
tw tw,,,,,,,,,,
tz tz,,,,,
ua ua,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ug ug,,,,,,
uk uk,,,,,,,,,,,,,,,,,,,,,,
um um
us us,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uy uy,,,,,,
uz uz
va va,
vc vc
ve ve,,,,,,
vg vg
vi vi,,,,
vn vn,,,,,,,,,,,,
vu vu
wf wf
ws ws
ye ye,,
yt yt
yu yu, ac.yu, co.yu, org.yu, edu.yu
za za,,,,,,,,,,,,,,,
zm zm,,,,,
zw zw,,,,

We hope you find this list useful – you might even want to register a domain name in the process. Enjoy!

Facebook Comments
  • By Dennis Consorte
  • Published on January 14th, 2012
  • Posted in SEO. Tags: , .