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