Port Code Lookup: UN/LOCODE List for 197 World Ports

Free UN/LOCODE lookup covering 197 major world ports, from Laem Chabang and Rotterdam to Chennai. Search the full list by port name, country, or code to find the right UN/LOCODE for invoices, bills of lading, or logistics documents in seconds.

Port Country UN/LOCODE
Jawaharlal Nehru Port (Mumbai) India INNSA
Jebel Ali Port (Dubai) United Arab Emirates AEJEA
Jeddah Islamic Port Saudi Arabia SAJED
Khalifa Bin Salman Port Bahrain BHKBS
Laem Chabang Port Thailand THLCH
Port Klang Malaysia MYPKG
Port Louis Mauritius MUPLU
Port of Abidjan Ivory Coast CIABJ
Port of Acajutla El Salvador SVAQJ
Port of Aden Yemen YEADE
Port of Aktau Kazakhstan KZAAU
Port of Alexandria Egypt EGALY
Port of Algeciras Spain ESALG
Port of Algiers Algeria DZALG
Port of Antwerp Belgium BEANR
Port of Apia Samoa WSAPW
Port of Aqaba Jordan JOAQJ
Port of Ashdod Israel ILASH
Port of Auckland New Zealand NZAKL
Port of Baku Azerbaijan AZBAK
Port of Balboa Panama PABLB
Port of Baltimore United States USBAL
Port of Bandar Abbas Iran IRBND
Port of Banjul Gambia GMBJL
Port of Bar Montenegro MEBAR
Port of Barcelona Spain ESBCN
Port of Basseterre Saint Kitts and Nevis KNBAS
Port of Beirut Lebanon LBBEY
Port of Belize City Belize BZBZE
Port of Bissau Guinea-Bissau GWOXB
Port of Bridgetown Barbados BBBGI
Port of Brisbane Australia AUBNE
Port of Buenaventura Colombia COBUN
Port of Buenos Aires Argentina ARBUE
Port of Busan South Korea KRPUS
Port of Callao Peru PECLL
Port of Cape Town South Africa ZACPT
Port of Cartagena Colombia COCTG
Port of Casablanca Morocco MACAS
Port of Castries Saint Lucia LCCAS
Port of Charleston United States USCHS
Port of Chennai India INMAA
Port of Chittagong Bangladesh BDCGP
Port of Colombo Sri Lanka LKCMB
Port of Conakry Guinea GNCKY
Port of Constanța Romania ROCND
Port of Copenhagen Denmark DKCPH
Port of Corinto Nicaragua NICIO
Port of Cotonou Benin BJCOO
Port of Dakar Senegal SNDKR
Port of Dalian China CNDLC
Port of Dammam Saudi Arabia SADMM
Port of Dar es Salaam Tanzania TZDAR
Port of Dili Timor-Leste TLDIL
Port of Djibouti Djibouti DJJIB
Port of Doha (Hamad Port) Qatar QADOH
Port of Douala Cameroon CMDLA
Port of Dublin Ireland IEDUB
Port of Durban South Africa ZADUR
Port of Durrës Albania ALDRZ
Port of Felixstowe United Kingdom GBFXT
Port of Freeport Bahamas BSFPO
Port of Freetown Sierra Leone SLFNA
Port of Funafuti Tuvalu TVFUN
Port of Gdansk Poland PLGDN
Port of Genoa Italy ITGOA
Port of Georgetown Guyana GYGEO
Port of Gothenburg Sweden SEGOT
Port of Guangzhou China CNCAN
Port of Guayaquil Ecuador ECGYE
Port of Hai Phong Vietnam VNHPH
Port of Haifa Israel ILHFA
Port of Hakata (Fukuoka) Japan JPHKT
Port of Hamburg Germany DEHAM
Port of Havana Cuba CUHAV
Port of Helsinki Finland FIHEL
Port of Ho Chi Minh City (Saigon) Vietnam VNSGN
Port of Honiara Solomon Islands SBHIR
Port of Houston United States USHOU
Port of Istanbul Türkiye TRIST
Port of Jakarta Indonesia IDJKT
Port of Karachi Pakistan PKKHI
Port of Kingston Jamaica JMKIN
Port of Kingstown Saint Vincent and the Grenadines VCKTN
Port of Klaipėda Lithuania LTKLJ
Port of Kobe Japan JPUKB
Port of Kolkata India INCCU
Port of Koper Slovenia SIKOP
Port of Koror Palau PWROR
Port of Kuwait Kuwait KWKWI
Port of La Guaira (Caracas) Venezuela VELAG
Port of Lagos Nigeria NGLOS
Port of Latakia Syria SYLTK
Port of Le Havre France FRLEH
Port of Lianyungang China CNLYG
Port of Limassol Cyprus CYLMS
Port of Lisbon Portugal PTLIS
Port of Lomé Togo TGLFW
Port of Long Beach United States USLGB
Port of Los Angeles United States USLAX
Port of Luanda Angola AOLAD
Port of Majuro Marshall Islands MHMAJ
Port of Malabo Equatorial Guinea GQSSG
Port of Malé Maldives MVMLE
Port of Manila Philippines PHMNL
Port of Manzanillo Mexico MXZLO
Port of Maputo Mozambique MZMPM
Port of Marsaxlokk Malta MTMAR
Port of Marseille France FRMRS
Port of Massawa Eritrea ERMSW
Port of Matadi DR Congo CDMAT
Port of Melbourne Australia AUMEL
Port of Mersin Türkiye TRMER
Port of Mindelo Cape Verde CVMIN
Port of Mogadishu Somalia SOMGQ
Port of Mombasa Kenya KEMBA
Port of Monaco (Port Hercules) Monaco MCMON
Port of Monrovia Liberia LRMLW
Port of Montevideo Uruguay UYMVD
Port of Montreal Canada CAMTR
Port of Muara Brunei BNMUA
Port of Mumbai India INBOM
Port of Mutsamudu Comoros KMMUT
Port of Nagoya Japan JPNGO
Port of Nampo North Korea KPNAM
Port of Nauru Nauru NRINU
Port of Neum Bosnia and Herzegovina BANEM
Port of New York and New Jersey United States USNYC
Port of Ningbo-Zhoushan China CNNGB
Port of Nouakchott Mauritania MRNKC
Port of Nuku'alofa Tonga TOTBU
Port of Oakland United States USOAK
Port of Odesa Ukraine UAODS
Port of Osaka Japan JPOSA
Port of Oslo Norway NOOSL
Port of Owendo Gabon GAOWE
Port of Paramaribo Suriname SRPBM
Port of Piraeus Greece GRPIR
Port of Pohnpei Micronesia FMPNI
Port of Pointe-Noire Congo CGPNR
Port of Port Moresby Papua New Guinea PGPOM
Port of Port-au-Prince Haiti HTPAP
Port of Poti Georgia GEPTI
Port of Puerto Cortés Honduras HNPCR
Port of Puerto Limón Costa Rica CRLIO
Port of Qingdao China CNTAO
Port of Reykjavik Iceland ISREY
Port of Riga Latvia LVRIX
Port of Rijeka Croatia HRRJK
Port of Rio de Janeiro Brazil BRRIO
Port of Rio Haina Dominican Republic DOHAI
Port of Roseau Dominica DMRSU
Port of Rotterdam Netherlands NLRTM
Port of Saint George's Grenada GDSTG
Port of Saint John's Antigua and Barbuda AGSJO
Port of Salalah Oman OMSLL
Port of San Antonio Chile CLSAI
Port of Santo Tomás de Castilla Guatemala GTSTC
Port of Santos Brazil BRSSZ
Port of Savannah United States USSAV
Port of Seattle United States USSEA
Port of Shanghai China CNSHA
Port of Shenzhen China CNSZX
Port of Sihanoukville Cambodia KHKOS
Port of Singapore Singapore SGSIN
Port of Spain Trinidad and Tobago TTPOS
Port of St. Petersburg Russia RULED
Port of Suez Egypt EGSUZ
Port of Surabaya Indonesia IDSUB
Port of Suva Fiji FJSUV
Port of Sydney Australia AUSYD
Port of São Tomé São Tomé and Príncipe STTMS
Port of Tallinn Estonia EETLL
Port of Tarawa Kiribati KITRW
Port of Tema Ghana GHTEM
Port of Tianjin China CNTSN
Port of Toamasina Madagascar MGTOA
Port of Tokyo Japan JPTYO
Port of Trieste Italy ITTRS
Port of Tripoli Libya LYTIP
Port of Tunis Tunisia TNTUN
Port of Turkmenbashi Turkmenistan TMKRW
Port of Umm Qasr Iraq IQUQR
Port of Valencia Spain ESVLC
Port of Valparaíso Chile CLVAP
Port of Vancouver Canada CAVAN
Port of Varna Bulgaria BGVAR
Port of Veracruz Mexico MXVER
Port of Victoria Seychelles SCVIC
Port of Walvis Bay Namibia NAWVB
Port of Xiamen China CNXMN
Port of Yangon Myanmar MMRGN
Port of Yokohama Japan JPYOK
Port of Zeebrugge Belgium BEZEE
Port Said Egypt EGPSD
Port Sudan Sudan SDPZU
Port Vila Vanuatu VUVLI

What Is a UN/LOCODE (Port Code)?

A UN/LOCODE is a location code defined by the United Nations for trade and transport hubs around the world. It has 5 characters: the first 2 are the ISO 3166-1 country code, and the remaining 3 identify a specific location within that country. Because it appears in the origin and destination fields of invoices and bills of lading, trade professionals frequently need to move back and forth between a port's name and its code.

This tool lets you search 197 major world ports by port name, country name, or code, with no distinction between uppercase and lowercase letters. Coverage is focused on major ports, so smaller regional ports and inland hubs are not included — if you can't find the port you're looking for, check the official UN list instead.

How to Look Up a Port Code

  1. Search by port name, country, or code Type any of the three — a port narrows down whether you enter "Yokohama," "Japan," or "JPYOK."
  2. Narrow results with a country code Enter just the first 2 letters to list every port covered for that country, handy for comparing multiple ports at once.
  3. Reverse-lookup a port from its code Paste the 5-character code from a document to confirm exactly which port it refers to.

Tips for getting more out of it

  • Whatever you type in the search box — port name, country, or UN/LOCODE — the list narrows down instantly and case-insensitively.
  • Invoices and bills of lading often list the 5-character UN/LOCODE, so you can look up a port either from its name or from the code itself.
  • A UN/LOCODE starts with a 2-letter country code (ISO 3166-1) followed by a 3-letter location code, so searching by country alone can already narrow things down.
  • If a country has several major ports (such as Shanghai, Shenzhen, and Ningbo in China), searching by country name lets you compare them all at once.
  • When preparing shipping documents, it helps to note down the UN/LOCODEs of both the origin and destination ports beforehand for smoother data entry.

Ways to Use Port Code Lookup

Preparing shipping documents

Confirm the origin and destination codes before filling out an invoice or bill of lading — a wrong code can delay customs clearance.

Verifying documents you've received

Reverse-lookup a code on a document from a trading partner to confirm it points to the port you expect, catching mix-ups between similarly spelled ports.

Registering locations in a logistics system

Check the correct codes in bulk when building a location master, narrowing by country code to move faster.

Learning international trade basics

Browsing major ports alongside their codes gives you a feel for the overall shape of global maritime shipping routes.

Trade & Transport Code Terms

UN/LOCODE
A 5-character code the United Nations assigns to trade and transport locations, covering not just seaports but also airports and inland hubs.
Country code
The 2-letter country identifier defined by ISO 3166-1. It forms the first 2 characters of a UN/LOCODE.
Bill of lading (B/L)
A document that proves receipt of cargo and represents the right to claim delivery; it lists the origin and destination codes.
Invoice
An itemized statement and bill prepared by the exporter. It serves as a basic document for customs procedures and must state the shipping route.
IATA code
An identifier for airports and other locations managed by the aviation industry. Both the managing body and the scope differ from UN/LOCODE.

Frequently Asked Questions

A UN/LOCODE is a location code defined by the United Nations (UN/CEFACT) for trade and transport locations worldwide, including seaports, airports, and inland hubs. It consists of a 2-letter country code followed by a 3-letter location code, and it's used to uniquely identify places on trade documents and in logistics systems.

Both identify transport locations, but they are managed by different bodies for different purposes. UN/LOCODEs cover trade locations in general, including seaports and inland hubs, and are managed by the United Nations, while IATA/ICAO codes are managed by aviation industry bodies for flight operations.

It's commonly printed in the origin/destination fields of export and import invoices or bills of lading. You can use this tool to look up a code by port or country name and check that it's written correctly.

This tool covers 197 major world ports, so smaller regional ports and inland locations are not included. We plan to consider expanding coverage in future updates.
Tool-kun

Side Note — Trivia about UN/LOCODEs

UN/LOCODE was developed in the 1980s by UN/CEFACT, the trade facilitation body of the United Nations Economic Commission for Europe (UNECE). It originally covered port cities, but today the list includes more than 100,000 locations, including inland cities without airports and border checkpoints.

Even at large ports with multiple terminals, a UN/LOCODE is generally assigned to represent the city or port as a whole rather than to each individual terminal. For example, the ports of Los Angeles and Long Beach sit right next to each other geographically, yet they carry distinct codes (USLAX and USLGB), so documents can clearly tell them apart.

The structure of a UN/LOCODE can also reflect regional patterns. Major Chinese ports all start with "CN," and the final three letters are usually derived from the English spelling of the port name, though this isn't a strict rule — Shanghai's "SHA" and other codes were often shaped by historical circumstances rather than a fixed formula.