Port Code Lookup (UN/LOCODE)
A free tool to search UN/LOCODEs (United Nations trade and transport location codes) for 37 major world ports. Search by port name or country as well, handy for checking codes when preparing invoices or bills of lading, or for learning international logistics.
| Port | Country | UN/LOCODE |
|---|---|---|
| Jawaharlal Nehru Port (Mumbai) | India | INNSA |
| Jebel Ali Port (Dubai) | United Arab Emirates | AEJEA |
| Laem Chabang Port | Thailand | THLCH |
| Port Klang | Malaysia | MYPKG |
| Port of Algeciras | Spain | ESALG |
| Port of Antwerp | Belgium | BEANR |
| Port of Busan | South Korea | KRPUS |
| Port of Colombo | Sri Lanka | LKCMB |
| Port of Durban | South Africa | ZADUR |
| Port of Felixstowe | United Kingdom | GBFXT |
| Port of Guangzhou | China | CNCAN |
| Port of Hakata (Fukuoka) | Japan | JPHKT |
| Port of Hamburg | Germany | DEHAM |
| Port of Jakarta | Indonesia | IDJKT |
| Port of Kobe | Japan | JPUKB |
| Port of Le Havre | France | FRLEH |
| Port of Long Beach | United States | USLGB |
| Port of Los Angeles | United States | USLAX |
| Port of Melbourne | Australia | AUMEL |
| Port of Montreal | Canada | CAMTR |
| Port of Nagoya | Japan | JPNGO |
| Port of New York and New Jersey | United States | USNYC |
| Port of Ningbo-Zhoushan | China | CNNGB |
| Port of Osaka | Japan | JPOSA |
| Port of Piraeus | Greece | GRPIR |
| Port of Qingdao | China | CNTAO |
| Port of Rotterdam | Netherlands | NLRTM |
| Port of Santos | Brazil | BRSSZ |
| Port of Shanghai | China | CNSHA |
| Port of Shenzhen | China | CNSZX |
| Port of Singapore | Singapore | SGSIN |
| Port of Sydney | Australia | AUSYD |
| Port of Tianjin | China | CNTSN |
| Port of Tokyo | Japan | JPTYO |
| Port of Valencia | Spain | ESVLC |
| Port of Vancouver | Canada | CAVAN |
| Port of Yokohama | Japan | JPYOK |
Tips
- 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.
Frequently Asked Questions
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.