SG
Singapore
ISO 3166 Country Code
Asia
Country Codes
Alpha-2 Code (ISO 3166-1 alpha-2)
SG
Alpha-3 Code (ISO 3166-1 alpha-3)
SGP
Numeric Code (ISO 3166-1 numeric)
702
Common Usage
HTML lang attribute
<html lang="sg">
URL locale parameter
https://example.com/sg/
JavaScript/TypeScript
const country = "SG"; const countryName = "Singapore";
API Response (JSON)
{
"country": "SG",
"countryName": "Singapore",
"alpha3": "SGP",
"numeric": "702"
}ISO 3166 Standard
ISO 3166 is the international standard for country codes. The alpha-2 code (SG) is the most commonly used format for domain names, language tags, and internationalization. The alpha-3 code (SGP) is used in shipping, banking, and official documents. The numeric code (702) is language-independent and useful for systems with character encoding limitations.