Shiportrade

Command Palette

Search for a command to run...

Ocean Freight Tools

Port Code Finder (UN/LOCODE)

Search and explore UN/LOCODE port codes for seaports, airports, and inland terminals worldwide. Find the correct 5-character code for any shipping location.

Ocean Freight
UN/LOCODE
Global Ports

Port Code Finder

Search and explore UN/LOCODE port codes for over 100 major shipping ports worldwide. Your comprehensive resource for maritime logistics and trade documentation.

100+ Ports
50+ Countries
7 Regions
UN/LOCODE Structure

XXXXX

XX

Country Code (ISO 3166-1)

XXX

Location Code

Example: CNSHA

CN = China, SHA = Shanghai

Top 5 Container Ports
CNSHAShanghai, China
47M+ TEU
SGSINSingapore
37M+ TEU
CNNGBNingbo-Zhoushan, China
33M+ TEU
CNSZXShenzhen, China
28M+ TEU
KRPUSBusan, South Korea
22M+ TEU
Location Types
1Sea port / Freight terminal
2Rail terminal
3Road terminal
4Airport
6Inland clearance depot
BBorder crossing
Pro Tips for Using Port Codes

Always verify the code

Cross-reference with official UN/LOCODE database for accuracy, especially for less common ports.

Use in all documentation

Include UN/LOCODE in Bills of Lading, Letters of Credit, and shipping instructions for clarity.

Check for alternatives

Some regions have multiple ports - choose the correct one based on your cargo routing.

Note the timezone

Port timezones are crucial for coordinating arrivals, departures, and customs cutoffs.

Consider port facilities

Verify the port can handle your cargo type (reefer, OOG, bulk, etc.) before booking.

Stay updated

UN/LOCODE is updated biannually. New codes are added and deprecated codes are marked.

Common Mistakes to Avoid

Using IATA codes for seaports

IATA codes (3 letters) are for airports. Seaports use 5-character UN/LOCODE.

Confusing similar codes

CNSHA (Shanghai) ≠ CNSZX (Shenzhen). Always verify the full port name.

Using city names instead of codes

Some ports have different names than cities. Use the official UN/LOCODE.

Incorrect formatting

Always use 5 uppercase characters with no spaces: CNSHA, not cnsha or CN SHA.

Frequently Asked Questions