|Introduced||19 October 1988|
|TLD type||Country code top-level domain|
|Intended use||Entities connected with Singapore|
|Actual use||Popular in Singapore|
|Registered domains||198,530 (Jul 2022)|
|Registration restrictions||Singapore presence required; third-level names have various restrictions depending on which second level label they are under|
|Structure||Registrations are taken at the third level beneath generic categories, or directly at the second level; special .idn.sg category exists for internationalized domain names|
|Documents||Policies and agreements|
|Dispute policies||Singapore Domain Name Dispute Resolution Policy|
.sg is the Internet country code top-level domain (ccTLD) for Singapore. It was first registered in September 1988. It is administered by the Singapore Network Information Centre. Registrations are processed via accredited registrars.
In 2011, two new internationalized country code top-level domains were registered for Singapore, intended for domain names in the local languages. These domains are .新加坡 (encoded as .xn—yfro4i67o) and .சிங்கப்பூர் (encoded as .xn—clchc0ea0b2g2a9gcd).
sgnic_statswas invoked but never defined (see the help page).