TLD – Nearly Complete List – Top Level Domain Country Extensions

TLD - Nearly Complete List - Top Level Domain Country Extensions
Keep in mind different country restrictions on domain 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 .ac.tj or com.ve or gob.pa. 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 vb.ly website; thankfully we have no such restrictions on our on-hold UTags URL shortener at uta.gs).

Regardless, this wasn’t quite the list we needed and did not have 2nd and 3rd level domains (e.g. .co.uk 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, com.ac, edu.ac, gov.ac, net.ac, mil.ac, org.ac
ad ad, nom.ad
ae ae, net.ae, gov.ae, org.ae, mil.ae, sch.ae, ac.ae, pro.ae, name.ae
aero aero
af af, gov.af, edu.af, net.af, com.af
ag ag, com.ag, org.ag, net.ag, co.ag, nom.ag
ai ai, off.ai, com.ai, net.ai, org.ai
al al, gov.al, edu.al, org.al, com.al, net.al, uniti.al, tirana.al, soros.al, upt.al, inima.al
am am
an an, com.an, net.an, org.an, edu.an
ao ao, co.ao, ed.ao, gv.ao, it.ao, og.ao, pb.ao
aq aq
ar ar, com.ar, gov.ar, int.ar, mil.ar, net.ar, org.ar
arpa arpa, e164.arpa, in-addr.arpa, iris.arpa, ip6.arpa, uri.arpa, urn.arpa
as as
at at, gv.at, ac.at, co.at, or.at, priv.at
au au, asn.au, com.au, net.au, id.au, org.au, csiro.au, oz.au, info.au, conf.au, act.au, nsw.au, nt.au, qld.au, sa.au, tas.au, vic.au, wa.au, gov.au, and, edu.au, act, nsw, nt, qld, sa, tas, vic, wa
aw aw, com.aw
ax ax
az az, com.az, net.az, int.az, gov.az, biz.az, org.az, edu.az, mil.az, pp.az, name.az, info.az
ba ba
bb bb, com.bb, edu.bb, gov.bb, net.bb, org.bb
bd bd, com.bd, edu.bd, net.bd, gov.bd, org.bd, mil.bd
be be, ac.be, to.be, com.be, co.be, xa.be, ap.be, fgov.be
bf bf, gov.bf
bg bg
bh bh
bi bi
biz biz
bj bj
bm bm, com.bm, edu.bm, org.bm, gov.bm, net.bm
bn bn, com.bn, edu.bn, org.bn, net.bn
bo bo, com.bo, org.bo, net.bo, gov.bo, gob.bo, edu.bo, tv.bo, mil.bo, int.bo
br br, agr.br, am.br, art.br, edu.br, com.br, coop.br, esp.br, far.br, fm.br, g12.br, gov.br, imb.br, ind.br, inf.br, mil.br, net.br, org.br, psi.br, rec.br, srv.br, tmp.br, tur.br, tv.br, etc.br, adm.br, adv.br, arq.br, ato.br, bio.br, bmd.br, cim.br, cng.br, cnt.br, ecn.br, eng.br, eti.br, fnd.br, fot.br, fst.br, ggf.br, jor.br, lel.br, mat.br, med.br, mus.br, not.br, ntr.br, odo.br, ppg.br, pro.br, psc.br, qsl.br, slg.br, trd.br, vet.br, zlg.br, dpn.br, nom.br
bs bs, com.bs, net.bs, org.bs
bt bt, com.bt, edu.bt, gov.bt, net.bt, org.bt
bv bv
bw bw, co.bw, org.bw
by by, gov.by, mil.by
bz bz
ca ca, ab.ca, bc.ca, mb.ca, nb.ca, nf.ca, nl.ca, ns.ca, nt.ca, nu.ca, on.ca, pe.ca, qc.ca, sk.ca, yk.ca
cat cat
cc cc, co.cc
cd cd, com.cd, net.cd, org.cd
cf cf
cg cg
ch ch, com.ch, net.ch, org.ch, gov.ch
ci ci
ck ck, co.ck
cl cl
cm cm
cn cn, ac.cn, com.cn, edu.cn, gov.cn, net.cn, org.cn, ah.cn, bj.cn, cq.cn, fj.cn, gd.cn, gs.cn, gz.cn, gx.cn, ha.cn, hb.cn, he.cn, hi.cn, hl.cn, hn.cn, jl.cn, js.cn, jx.cn, ln.cn, nm.cn, nx.cn, qh.cn, sc.cn, sd.cn, sh.cn, sn.cn, sx.cn, tj.cn, xj.cn, xz.cn, yn.cn, zj.cn
co co, com.co, edu.co, org.co, gov.co, mil.co, net.co, nom.co
com com
coop coop
cr cr, ac.cr, co.cr, ed.cr, fi.cr, go.cr, or.cr, sa.cr
cu cu, com.cu, edu.cu, org.cu, net.cu, gov.cu, inf.cu
cv cv
cx cx, gov.cx
cy cy, com.cy, biz.cy, info.cy, ltd.cy, pro.cy, net.cy, org.cy, name.cy, tm.cy, ac.cy, ekloges.cy, press.cy, parliament.cy
cz cz
de de
dj dj
dk dk
dm dm, com.dm, net.dm, org.dm, edu.dm, gov.dm
do do, edu.do, gov.do, gob.do, com.do, org.do, sld.do, web.do, net.do, mil.do, art.do
dz dz, com.dz, org.dz, net.dz, gov.dz, edu.dz, asso.dz, pol.dz, art.dz
ec ec, com.ec, info.ec, net.ec, fin.ec, med.ec, pro.ec, org.ec, edu.ec, gov.ec, mil.ec
edu edu
ee ee, com.ee, org.ee, fie.ee, pri.ee
eg eg, eun.eg, edu.eg, sci.eg, gov.eg, com.eg, org.eg, net.eg, mil.eg
er er
es es, com.es, nom.es, org.es, gob.es, edu.es
et et, com.et, gov.et, org.et, edu.et, net.et, biz.et, name.et, info.et
eu eu
fi fi, aland.fi
fj fj, biz.fj, com.fj, info.fj, name.fj, net.fj, org.fj, pro.fj, ac.fj, gov.fj, mil.fj, school.fj
fk fk, co.fk, org.fk, gov.fk, ac.fk, nom.fk, net.fk
fm fm
fo fo
fr fr, tm.fr, asso.fr, nom.fr, prd.fr, presse.fr, com.fr, gouv.fr
ga ga
gb gb
gd gd
ge ge, com.ge, edu.ge, gov.ge, org.ge, mil.ge, net.ge, pvt.ge
gf gf
gg gg, co.gg, net.gg, org.gg
gh gh, com.gh, edu.gh, gov.gh, org.gh, mil.gh
gi gi, com.gi, ltd.gi, gov.gi, mod.gi, edu.gi, org.gi
gl gl
gm gm
gn gn, com.gn, ac.gn, gov.gn, org.gn, net.gn
gov gov
gp gp, com.gp,, net.gp,, edu.gp,, asso.gp,, or, org.gp
gq gq
gr gr, com.gr, edu.gr, net.gr, org.gr, gov.gr
gs gs
gt gt
gu gu
gw gw
gy gy
hk hk, com.hk, edu.hk, gov.hk, idv.hk, net.hk, org.hk
hm hm
hn hn, com.hn, edu.hn, org.hn, net.hn, mil.hn, gob.hn
hr hr, iz.hr, from.hr, name.hr, com.hr
ht ht, com.ht, net.ht, firm.ht, shop.ht, info.ht, pro.ht, adult.ht, org.ht, art.ht, pol.ht, rel.ht, asso.ht, perso.ht, coop.ht, med.ht, edu.ht, gouv.ht
hu hu, co.hu, info.hu, org.hu, priv.hu, sport.hu, tm.hu, 2000.hu, agrar.hu, bolt.hu, casino.hu, city.hu, erotica.hu, erotika.hu, film.hu, forum.hu, games.hu, hotel.hu, ingatlan.hu, jogasz.hu, konyvelo.hu, lakas.hu, media.hu, news.hu, reklam.hu, sex.hu, shop.hu, suli.hu, szex.hu, tozsde.hu, utazas.hu, video.hu
id id, ac.id, co.id, or.id, go.id
ie ie, gov.ie
il il, ac.il, co.il, org.il, net.il, k12.il, gov.il, muni.il, idf.il
im im, co.im, ltd.co.im, plc.co.im, net.im, gov.im, org.im, nic.im, ac.im
in in, co.in, firm.in, net.in, org.in, gen.in, ind.in, nic.in, ac.in, edu.in, res.in, gov.in, mil.in
info info
int int, europa.eu.int
io io
iq iq
ir ir, ac.ir, co.ir, gov.ir, net.ir, org.ir, sch.ir
is is, ac.is, org.is
it it, gov.it, pisa.it, pontedera.pisa.it
je je, co.je, net.je, org.je
jm jm, edu.jm, gov.jm, com.jm, net.jm, org.jm
jo jo, com.jo, org.jo, net.jo, edu.jo, gov.jo, mil.jo
jobs jobs
jp jp, ac.jp, ad.jp, co.jp, ed.jp, go.jp, gr.jp, lg.jp, ne.jp, or.jp, hokkaido.jp, aomori.jp, iwate.jp, miyagi.jp, akita.jp, yamagata.jp, fukushima.jp, ibaraki.jp, tochigi.jp, gunma.jp, saitama.jp, chiba.jp, tokyo.jp, kanagawa.jp, niigata.jp, toyama.jp, ishikawa.jp, fukui.jp, yamanashi.jp, nagano.jp, gifu.jp, shizuoka.jp, aichi.jp, mie.jp, shiga.jp, kyoto.jp, osaka.jp, hyogo.jp, nara.jp, wakayama.jp, tottori.jp, shimane.jp, okayama.jp, hiroshima.jp, yamaguchi.jp, tokushima.jp, kagawa.jp, ehime.jp, kochi.jp, fukuoka.jp, saga.jp, nagasaki.jp, kumamoto.jp, oita.jp, miyazaki.jp, kagoshima.jp, okinawa.jp, sapporo.jp, sendai.jp, yokohama.jp, kawasaki.jp, nagoya.jp, kobe.jp, kitakyushu.jp
ke ke
kg kg
kh kh, per.kh, com.kh, edu.kh, gov.kh, mil.kh, net.kh, org.kh
ki ki
km km
kn kn
kr kr, co.kr.kr
kw kw, com.kw, edu.kw, gov.kw, net.kw, org.kw, mil.kw
ky ky, edu.ky, gov.ky, com.ky, org.ky, net.ky
kz kz, org.kz, edu.kz, net.kz, gov.kz, mil.kz, com.kz
la la
lb lb, net.lb, org.lb, gov.lb, edu.lb, com.lb
lc lc, com.lc, org.lc, edu.lc, gov.lc
li li, com.li, net.li, org.li, gov.li
lk lk, gov.lk, sch.lk, net.lk, int.lk, com.lk, org.lk, edu.lk, ngo.lk, soc.lk, web.lk, ltd.lk, assn.lk, grp.lk, hotel.lk
lr lr, com.lr, edu.lr, gov.lr, org.lr, net.lr
ls ls, org.ls, co.ls
lt lt, gov.lt, mil.lt
lu lu, gov.lu, mil.lu, org.lu, net.lu
lv lv, com.lv, edu.lv, gov.lv, org.lv, mil.lv, id.lv, net.lv, asn.lv, conf.lv
ly ly, com.ly, net.ly, gov.ly, plc.ly, edu.ly, sch.ly, med.ly, org.ly, id.ly
ma ma, co.ma, net.ma, gov.ma, org.ma
mc mc, tm.mc, asso.mc
md md
mg mg, org.mg, nom.mg, gov.mg, prd.mg, tm.mg, com.mg, edu.mg, mil.mg, !!
mh mh
mil mil, army.mil, navy.mil, .
mk mk, com.mk, org.mk
ml ml
mm mm
mn mn
mo mo, com.mo, net.mo, org.mo, edu.mo, gov.mo
mobi mobi, weather.mobi, music.mobi, .
mp mp
mq mq
mr mr
ms ms
mt mt, org.mt, com.mt, gov.mt, edu.mt, net.mt
mu mu, com.mu, co.mu
museum museum
mv mv, aero.mv, biz.mv, com.mv, coop.mv, edu.mv, gov.mv, info.mv, int.mv, mil.mv, museum.mv, name.mv, net.mv, org.mv, pro.mv
mw mw, ac.mw, co.mw, com.mw, coop.mw, edu.mw, gov.mw, int.mw, museum.mw, net.mw, org.mw
mx mx, com.mx, net.mx, org.mx, edu.mx, gob.mx
my my, com.my, net.my, org.my, gov.my, edu.my, mil.my, name.my
mz mz
na na
name name
nc nc
ne ne
net net
nf nf
ng ng, edu.ng, com.ng, gov.ng, org.ng, net.ng
ni ni, gob.ni, com.ni, edu.ni, org.ni, nom.ni, net.ni
nl nl
no no, mil.no, stat.no, kommune.no, herad.no, priv.no, vgs.no, fhs.no, museum.no, fylkesbibl.no, folkebibl.no, idrett.no
np np, com.np, org.np, edu.np, net.np, gov.np, mil.np
nr nr, gov.nr, edu.nr, biz.nr, info.nr, nr, org.nr, com.nr, net.nr, co.nr
nu nu
nz nz, ac.nz, co.nz, cri.nz, gen.nz, geek.nz, govt.nz, iwi.nz, maori.nz, mil.nz, net.nz, org.nz, school.nz
om om, com.om, co.om, edu.om, ac.com, sch.om, gov.om, net.om, org.om, mil.om, museum.om, biz.om, pro.om, med.om
org org
pa pa, com.pa, ac.pa, sld.pa, gob.pa, edu.pa, org.pa, net.pa, abo.pa, ing.pa, med.pa, nom.pa
pe pe, com.pe, org.pe, net.pe, edu.pe, mil.pe, gob.pe, nom.pe
pf pf, com.pf, org.pf, edu.pf
pg pg, com.pg, net.pg
ph ph, com.ph, gov.ph
pk pk, com.pk, net.pk, edu.pk, org.pk, fam.pk, biz.pk, web.pk, gov.pk, gob.pk, gok.pk, gon.pk, gop.pk, gos.pk
pl pl, com.pl, biz.pl, net.pl, art.pl, edu.pl, org.pl, ngo.pl, gov.pl, info.pl, mil.plæ, waw.pl, warszawa.pl, wroc.pl, wroclaw.pl, krakow.pl, poznan.pl, lodz.pl, gda.pl, gdansk.pl, slupsk.pl, szczecin.pl, lublin.pl, bialystok.pl, olsztyn.pl.torun.pl
pm pm
pn pn
pr pr, biz.pr, com.pr, edu.pr, gov.pr, info.pr, isla.pr, name.pr, net.pr, org.pr, pro.pr
pro pro, law.pro, med.pro, cpa.pro
ps ps, edu.ps, gov.ps, sec.ps, plo.ps, com.ps, org.ps, net.ps
pt pt, com.pt, edu.pt, gov.pt, int.pt, net.pt, nome.pt, org.pt, publ.pt
pw pw
py py, net.py, org.py, gov.py, edu.py, com.py
qa qa
re re
ro ro, com.ro, org.ro, tm.ro, nt.ro, nom.ro, info.ro, rec.ro, arts.ro, firm.ro, store.ro, www.ro
ru ru, com.ru, net.ru, org.ru, pp.ru, msk.ru, int.ru, ac.ru, !!
rw rw, gov.rw, net.rw, edu.rw, ac.rw, com.rw, co.rw, int.rw, mil.rw, gouv.rw
sa sa, com.sa, edu.sa, sch.sa, med.sa, gov.sa, net.sa, org.sa, pub.sa
sb sb, com.sb, gov.sb, net.sb, edu.sb
sc sc, com.sc, gov.sc, net.sc, org.sc, edu.sc
sd sd, com.sd, net.sd, org.sd, edu.sd, med.sd, tv.sd, gov.sd, info.sd
se se, org.se, pp.se, tm.se, brand.se, parti.se, press.se, komforb.se, kommunalforbund.se, komvux.se, lanarb.se, lanbib.se, naturbruksgymn.se, sshn.se, fhv.se, fhsk.se, fh.se, mil.se, ab.se, c.se, d.se, e.se, f.se, g.se, h.se, i.se, k.se, m.se, n.se, o.se, s.se, t.se, u.se, w.se, x.se, y.se, z.se, ac.se, bd.se
sg sg, com.sg, net.sg, org.sg, gov.sg, edu.sg, per.sg, idn.sg
sh sh
si si
sj sj
sk sk
sl sl
sm sm
sn sn
so so
sr sr, rs.sr
st st
su su
sv sv, edu.sv, com.sv, gob.sv, org.sv, red.sv
sy sy, gov.sy, com.sy, net.sy
sz sz
tc tc
td td
tf tf
tg tg
th th, ac.th, co.th, in.th, go.th, mi.th, or.th, net.th
tj tj, ac.tj, biz.tj, com.tj, co.tj, edu.tj, int.tj, name.tj, net.tj, org.tj, web.tj, gov.tj, go.tj, mil.tj
tk tk
tl tl
tm tm
tn tn, com.tn, intl.tn, gov.tn, org.tn, ind.tn, nat.tn, tourism.tn, info.tn, ens.tn, fin.tn, net.tn
to to, gov.to
tp tp, gov.tp
tr tr, com.tr, info.tr, biz.tr, net.tr, org.tr, web.tr, gen.tr, av.tr, dr.tr, bbs.tr, name.tr, tel.tr, gov.tr, bel.tr, pol.tr, mil.tr, k12.tr, edu.tr, bel.tr
travel travel
tt tt, co.tt, com.tt, org.tt, net.tt, biz.tt, info.tt, pro.tt, name.tt, edu.tt, gov.tt, us.tt
tv tv, gov.tv
tw tw, edu.tw, gov.tw, mil.tw, com.tw, net.tw, org.tw, idv.tw, game.tw, ebiz.tw, club.tw
tz tz, co.tz, ac.tz, go.tz, or.tz, ne.tz
ua ua, com.ua, gov.ua, net.ua, edu.ua, org.ua, cherkassy.ua, ck.ua, chernigov.ua, cn.ua, chernovtsy.ua, cv.ua, crimea.ua, dnepropetrovsk.ua, dp.ua, donetsk.ua, dn.ua, ivano-frankivsk.ua, if.ua, kharkov.ua, kh.ua, kherson.ua, ks.ua, khmelnitskiy.ua, km.ua, kiev.ua, kv.ua, kirovograd.ua, kr.ua, lugansk.ua, lg.ua, lutsk.ua, lviv.ua, nikolaev.ua, mk.ua, odessa.ua, od.ua, poltava.ua, pl.ua, rovno.ua, rv.ua, sebastopol.ua, sumy.ua, ternopil.ua, te.ua, uzhgorod.ua, vinnica.ua, vn.ua, zaporizhzhe.ua, zp.ua, zhitomir.ua, zt.ua
ug ug, co.ug, ac.ug, sc.ug, go.ug, ne.ug, or.ug
uk uk, ac.uk, co.uk, gov.uk, ltd.uk, me.uk, mil.uk, mod.uk, net.uk, nic.uk, nhs.uk, org.uk, plc.uk, police.uk, sch.uk, bl.uk, british-library.uk, icnet.uk, jet.uk, nel.uk, nls.uk, national-library-scotland.uk, parliament.uk
um um
us us, ak.us, al.us, ar.us, az.us, ca.us, co.us, ct.us, dc.us, de.us, dni.us, fed.us, fl.us, ga.us, hi.us, ia.us, id.us, il.us, in.us, isa.us, kids.us, ks.us, ky.us, la.us, ma.us, md.us, me.us, mi.us, mn.us, mo.us, ms.us, mt.us, nc.us, nd.us, ne.us, nh.us, nj.us, nm.us, nsn.us, nv.us, ny.us, oh.us, ok.us, or.us, pa.us, ri.us, sc.us, sd.us, tn.us, tx.us, ut.us, vt.us, va.us, wa.us, wi.us, wv.us, wy.us, k12.us, pvt.k12.us, cc.us, tec.us, lib.us, state.us, gen.us
uy uy, edu.uy, gub.uy, org.uy, com.uy, net.uy, mil.uy
uz uz
va va, vatican.va
vc vc
ve ve, com.ve, net.ve, org.ve, info.ve, co.ve, web.ve
vg vg
vi vi, com.vi, org.vi, edu.vi, gov.vi
vn vn, com.vn, net.vn, org.vn, edu.vn, gov.vn, int.vn, ac.vn, biz.vn, info.vn, name.vn, pro.vn, health.vn
vu vu
wf wf
ws ws
ye ye, com.ye, net.ye
yt yt
yu yu, ac.yu, co.yu, org.yu, edu.yu
za za, ac.za, city.za, co.za, edu.za, gov.za, law.za, mil.za, nom.za, org.za, school.za, alt.za, net.za, ngo.za, tm.za, web.za
zm zm, co.zm, org.zm, gov.zm, sch.zm, ac.zm
zw zw, co.zw, org.zw, gov.zw, ac.zw

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

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