Triplicate

Shanghai Port Code: CNSHG

The UN/LOCODE port code for Shanghai Pt, China, is CNSHG. Function: seaport.

CountryChina (CN)
Location codeSHG
SubdivisionSH
FunctionSeaport

Click a code to copy it.

CNSHA, CNSHG or CNSGH?

In UN/LOCODE 2025-1, CNSHA is Shanghai Hongqiao International Airport, CNSHG is the port of Shanghai, CNSGH is Shanghai (city, with port and airport functions) and CNPVG is Pudong International Airport. CNSHA has long been used for the port of Shanghai on bookings and documents, so confirm which code your carrier, forwarder and letter of credit expect.

Related UN/LOCODEs

CodeNameFunction
CNPVGShanghai Pudong International AptAirport
CNSGHShanghaiSeaport, Airport
CNSHAShanghai Hongqiao International AptAirport

A city can have separate codes for its port, its airport and nearby terminals or depots. Use the one that matches where the goods are loaded or delivered, and the same one on every document.

How to write it on your documents

Use as port of loading →Use as port of discharge →

Other port codes in China

Source: UN/LOCODE 2025-1 (UNECE), public domain via the datasets/un-locode project. Names are shown as in UN/LOCODE, usually in the local spelling.

Common questions

What is CNSHG?

CNSHG is the UN/LOCODE (United Nations Code for Trade and Transport Locations) of Shanghai Pt, China. CN is the country code and SHG the location. Function: seaport.

What is the port code for Shanghai?

CNSHG; the same place also has CNPVG (airport), CNSGH (seaport, airport), CNSHA (airport). Use the code your carrier or forwarder uses on the booking, and the same one on every document.

More free tools

Share with a colleagueWhatsAppLinkedInX

Triplicate is free and keeps getting better. Found it useful? Support Triplicate ♥