Skip to content
ISO 3166-1 code · ISO 3166-1 country codes

What the LK country code means: Sri Lanka in ISO 3166-1

Published Formatory editorial team

Sri Lanka

The alpha-3 code is LKA and the numeric code is 144; the currency code LKR is a separate ISO 4217 value built on the same letters.

LK stands for Sri Lanka in ISO 3166-1. The letters come from Lanka, the island’s traditional name, which is also present in the alpha-3 code LKA. The numeric code is 144. That much is quick to state; the more useful questions are how the code behaves in records about a place whose name, administration and languages have all changed over the past century.

The entry

Field Value
ISO short name Sri Lanka
Alpha-2 LK
Alpha-3 LKA
Numeric 144
UN region Asia, Southern Asia
ccTLD .lk

The obvious alternative, SL, was already taken by Sierra Leone. For anyone guessing codes from names, Sri Lanka is a standard example of why guessing fails.

Ceylon, Sri Lanka and historical records

Until 1972 the country was officially Ceylon. Archives in the United Kingdom and elsewhere hold large quantities of material from the colonial period: tea and rubber estate records, maps, photographs, government gazettes. In current metadata those records still take LK. ISO 3166-1 codes identify the territory, not the name it had at the time, and the code list contains no separate entry for Ceylon. The historical name belongs in the title or a note. Library of Congress subject headings follow the same logic: because the territory did not change, the heading is Sri Lanka, with a cross-reference from Ceylon so that searches under the old name still lead there.

Things change only when a territory itself is restructured. ISO 3166-3 lists withdrawn codes for countries that split or merged, and none of that applies to Sri Lanka.

Subdivisions

ISO 3166-2 describes Sri Lanka at two levels. The nine provinces are coded LK-1 to LK-9. The districts take two-digit codes whose first digit repeats the province, so Colombo district is LK-11 inside the Western Province, LK-1. This nesting is convenient for queries: any district code starting with 1 lies in the Western Province, which simplifies aggregation in collections that record locations at district level.

How LK appears in records

Dublin Core. dcterms:spatial takes LK, typed with the ISO 3166 datatype or validated against an ISO 3166-1 code list. A subdivision code can be added in a second spatial statement when the place within the country matters.

Languages. The place and the language are separate statements. Sinhala has the ISO 639-2 code sin (ISO 639-1 si) and Tamil tam (ta); English is eng. The example above is a ledger kept in English with Tamil entries, coded with both languages in dc:language and the place in a spatial field.

Web content. BCP 47 tags combine language and region: si-LK for Sinhala as used in Sri Lanka, ta-LK for Sri Lankan Tamil, as distinct from ta-IN for Tamil in India. That distinction is often worth making on multilingual sites, because vocabulary and spelling conventions differ.

Values that get mixed up with LK

The currency code LKR sits next to LK in many financial datasets and is sometimes pasted into country fields. Telephone metadata adds another value: Sri Lanka’s international calling code is +94, which has nothing to do with the numeric ISO code 144. Neighboring entries in South Asia, such as the Maldives (MV, MDV, 462) and India (IN, IND, 356), are separate countries even where historical records treat them as one region.

Example in RDF

@prefix dcterms: <http://purl.org/dc/terms/> .

<https://example.org/archive/tea-estates/ledger-1934.pdf>
    dcterms:title "Estate ledger, 1934" ;
    dcterms:spatial "LK"^^dcterms:ISO3166 ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-2/eng> ,
                     <http://id.loc.gov/vocabulary/iso639-2/tam> .

Questions about LK

What is the LK country code?

LK is the ISO 3166-1 alpha-2 code for Sri Lanka, the island state in the Indian Ocean south of India. The matching alpha-3 code is LKA and the numeric code 144. Sri Lanka's internet domain, .lk, uses the same two letters.

Why does Sri Lanka use LK and not SL?

SL is the alpha-2 code for Sierra Leone. ISO 3166 avoids duplicates, so Sri Lanka received LK, built from the letters of Lanka. The alpha-3 code LKA follows the same pattern.

What was Sri Lanka's code when it was called Ceylon?

The country took the name Sri Lanka in 1972. Historical records about Ceylon are coded today with LK, because country codes in metadata describe the place, and a date or a note records the historical name where it matters.

How are Sri Lanka's provinces and districts coded?

ISO 3166-2 gives the nine provinces single-digit codes from LK-1 to LK-9 and numbers the districts with two digits beneath them, so the first digit of a district code shows its province. Colombo district, in the Western Province (LK-1), is LK-11.

Is LKR the same as LK?

No. LKR is the ISO 4217 code for the Sri Lankan rupee. Currency codes often start with the country's alpha-2 letters, but they belong in price or currency fields, never in a country field.

More from ISO 3166-1 country codes

All 5 in this group