Shanghai Port Code: CNSHG
The UN/LOCODE port code for Shanghai Pt, China, is CNSHG. Function: seaport.
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
| Code | Name | Function |
|---|---|---|
| CNPVG | Shanghai Pudong International Apt | Airport |
| CNSGH | Shanghai | Seaport, Airport |
| CNSHA | Shanghai Hongqiao International Apt | Airport |
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
- Commercial invoice and packing list: Port of loading / discharge: Shanghai, China (CNSHG)
- Shipping instructions and bill of lading: write the port name as on the booking, with CNSHG if your forwarder asks for the code
- Letter of credit: if the credit names this port, copy its wording exactly (for example “any port in China” or “Shanghai, China”)
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
Triplicate is free and keeps getting better. Found it useful? Support Triplicate ♥
Prefer no ads? Pro removes all ads · $1/month