LY β Libya
State of Libya
ISO 3166-1 Codes
Quick Facts
| Capital | Tripoli |
| Region | Africa β Northern Africa |
| Phone Code | +218 |
| Currency | LYD β Libyan Dinar (Ω.Ψ―) |
| TLD | .ly |
| Languages | Arabic |
Codes & Identifiers
Currency
About Libya (LY)
Libya is a large North African country on the Mediterranean coast, the fourth-largest in Africa by area, with most of its territory covered by the Sahara Desert. Tripoli, the capital, is the largest city and primary economic center. Libya holds Africa's largest proven oil reserves. The Libyan Dinar (LYD) is subdivided into 1,000 dirhams (not 100), requiring special currency formatting logic. For developers, the LY country code is widely recognized because the .ly ccTLD has become extremely popular for URL shorteners (bit.ly, ow.ly) and creative domain names. The ar-LY locale handles Libyan Arabic with RTL text direction. The +218 dialing code serves Libyan telecommunications. Libya's unique currency subdivision (1,000 dirhams per dinar instead of the typical 100 subunits) is an important edge case for currency formatting libraries. The popularity of .ly domains means developers frequently encounter this ccTLD in URL parsing and link shortening contexts.
Languages
Related Countries
Browse Country Codes by Region
Explore our reference of 208 country codes with ISO standards, currencies, phone codes, and developer notes.